Pagini recente » Borderou de evaluare (job #980978) | Borderou de evaluare (job #278506) | Borderou de evaluare (job #724383) | Borderou de evaluare (job #1010641) | Borderou de evaluare (job #1398265)
Borderou de evaluare (job #1398265)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:34:13: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if(k&(k-1)==0) printf("0\n");
^
user.cpp:30:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("kperm.in","r",stdin);
^
user.cpp:31:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("kperm.out","w",stdout);
^
user.cpp:33:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 228kb | Incorect | 0 |
2 | 0ms | 224kb | Incorect | 0 |
3 | 0ms | 224kb | Incorect | 0 |
4 | 0ms | 224kb | Incorect | 0 |
5 | 0ms | 228kb | Incorect | 0 |
6 | 0ms | 224kb | Incorect | 0 |
7 | 0ms | 232kb | Incorect | 0 |
8 | 0ms | 224kb | Incorect | 0 |
9 | 0ms | 228kb | Incorect | 0 |
10 | 0ms | 224kb | Incorect | 0 |
Punctaj total | 0 |