Submission
Id | When | Author | Problem | Language | CPU | Memory | Verdict |
---|---|---|---|---|---|---|---|
16708 | 2024-04-09 16:31:46 | Sadman_sadi_anik_241 | Binary Prime | C | 0 ms | 1880 kb | Wrong Answer - 1 |
Test Cases
CPU | Memory | Verdict | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
1 | 0 ms | 1880 kb | Wrong Answer | ||||||||
2 | - | - | Skipped | ||||||||
3 | - | - | Skipped | ||||||||
4 | - | - | Skipped | ||||||||
5 | - | - | Skipped | ||||||||
6 | - | - | Skipped | ||||||||
7 | - | - | Skipped | ||||||||
8 | - | - | Skipped | ||||||||
9 | - | - | Skipped | ||||||||
10 | - | - | Skipped | ||||||||
11 | - | - | Skipped | ||||||||
Source Code
program.c
#include<stdio.h> #include<math.h> int main() { int A,i,j,B,l,sum; for(i=1; i<=A; i++) { sum=0; j=1; while(1) { l=B%2; sum=sum+l; B=B/2; l=0; if(B==0) break; j++; } if (sum <= 1) { } else if(sum%2==0) { } else if(sum==2) { } else if(sum==3) { } else { { if (sum % k == 0) { } else { } } } } }