Borderou de evaluare (job #2020042)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:23: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
while (v[j] & x != 0 & j < N) {
^
user.cpp:19:32: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
while (v[j] & x != 0 & j < N) {
^
user.cpp:5:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("and.in", "r", stdin);
^
user.cpp:6:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("and.out", "w", stdout);
^
user.cpp:9:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &N);
^
user.cpp:12:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | Incorect | 0 |
2 | 0ms | 272kb | Incorect | 0 |
3 | 0ms | 284kb | Incorect | 0 |
4 | 0ms | 280kb | Incorect | 0 |
5 | 68ms | 880kb | Incorect | 0 |
6 | 76ms | 908kb | Incorect | 0 |
7 | 68ms | 900kb | Incorect | 0 |
8 | 52ms | 804kb | OK | 10 |
9 | Depăşit | 1052kb | Time limit exceeded. | 0 |
10 | 92ms | 1060kb | OK | 10 |
Punctaj total | 20 |