Pagini recente » Borderou de evaluare (job #2217334) | Borderou de evaluare (job #1600428) | Borderou de evaluare (job #2226247) | Borderou de evaluare (job #2396572) | Borderou de evaluare (job #1473875)
Borderou de evaluare (job #1473875)
Raport evaluator
Compilare:
user.cpp: In function ‘int zeros(int)’:
user.cpp:11:19: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
return x^(x-1)&x;
^
user.cpp: In function ‘int main()’:
user.cpp:42:27: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(fin,"r",stdin);
^
user.cpp:43:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(fou,"w",stdout);
^
user.cpp:44:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:47:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:53:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&cod,&a);
^
user.cpp:54:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if(cod!=2) scanf("%d",&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 436kb | OK | 10 |
2 | 0ms | 444kb | OK | 10 |
3 | 44ms | 456kb | OK | 10 |
4 | Depăşit | 532kb | Time limit exceeded. | 0 |
5 | Depăşit | 568kb | Time limit exceeded. | 0 |
6 | Depăşit | 688kb | Time limit exceeded. | 0 |
7 | Depăşit | 764kb | Time limit exceeded. | 0 |
8 | Depăşit | 820kb | Time limit exceeded. | 0 |
9 | Depăşit | 824kb | Time limit exceeded. | 0 |
10 | Depăşit | 824kb | Time limit exceeded. | 0 |
Punctaj total | 30 |