Pagini recente » Borderou de evaluare (job #115370) | Borderou de evaluare (job #384692) | Borderou de evaluare (job #1735252) | Borderou de evaluare (job #1616901) | Borderou de evaluare (job #1587244)
Borderou de evaluare (job #1587244)
Raport evaluator
Compilare:
user.cpp: In function ‘int bit_count_mod2(int, int, int)’:
user.cpp:32:38: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]
return (power*((x_zeros*y_ones)&1+(x_ones*y_zeros)&1))&1;
^
user.cpp: In function ‘int main()’:
user.cpp:52:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("xor.in","r",stdin);
^
user.cpp:53:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("xor.out","w",stdout);
^
user.cpp:55:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&t,&mod);
^
user.cpp:57:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&x1,&y1,&x2,&y2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 272kb | OK | 10 |
3 | 144ms | 272kb | OK | 10 |
4 | 156ms | 268kb | OK | 10 |
5 | Depăşit | 276kb | Time limit exceeded. | 0 |
6 | Depăşit | 272kb | Time limit exceeded. | 0 |
7 | 128ms | 272kb | Incorect | 0 |
8 | 128ms | 276kb | Incorect | 0 |
9 | 200ms | 272kb | OK | 10 |
10 | Depăşit | 268kb | Time limit exceeded. | 0 |
Punctaj total | 50 |