Submission
Id | When | Author | Problem | Language | CPU | Memory | Verdict |
---|---|---|---|---|---|---|---|
16714 | 2024-04-09 17:07:29 | Sadman_sadi_anik_241 | Binary Prime | C | 0 ms | 0 kb | Compilation Error |
Test Cases
CPU | Memory | Verdict | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
1 | 0 ms | 0 kb | Compilation Error | ||||||||
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) { } { if (sum % k == 0) { } else { } } else if(sum==2) { } else if(sum==3) { } else if (sum % 2 == 0) { } } }