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=2;i<N;i++) {
- for(j=2;j<N;j++) {
- if(i*j == N) {
- printf("S");
- return 0;
- }
- }
- }
- printf("N");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement