Submission
Id | When | Author | Problem | Language | CPU | Memory | Verdict |
---|---|---|---|---|---|---|---|
16706 | 2024-04-09 16:16:05 | Sadman_sadi_anik_241 | Binary Prime | C | 0 ms | 1904 kb | Wrong Answer - 4 |
Test Cases
CPU | Memory | Verdict | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
1 | 0 ms | 1904 kb | Accepted | ||||||||
2 | 0 ms | 1788 kb | Accepted | ||||||||
3 | 0 ms | 1728 kb | Accepted | ||||||||
4 | 0 ms | 1800 kb | Wrong Answer | ||||||||
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) { } else if(sum==3) { } else if(sum/2==0) { } else { { if (sum % k == 0) { } else { } } } } }