Advertisement
Raul_julian

Selo-[OBI]

Jun 19th, 2013
310
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.36 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main() {
  4.  
  5.         int N, i, j;
  6.  
  7.         scanf("%d", &N);
  8.  
  9.         for(i=0; i<N; i++) {
  10.                 for(j=0; j<N; j++) {
  11.  
  12.                         if(j*i == N) {
  13.  
  14.                                 printf("S"); return 0; }
  15.                                                         } }
  16.  
  17.         printf("N");
  18.  
  19.         return 0;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement