Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main() {
- int N, i, j;
- scanf("%d", &N);
- for(i=0; i<N; i++) {
- for(j=0; j<N; j++) {
- if(j*i == N) {
- printf("S"); return 0; }
- } }
- printf("N");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement