Pagini recente » Borderou de evaluare (job #707246) | Borderou de evaluare (job #1512679) | Borderou de evaluare (job #1539805) | Borderou de evaluare (job #361459) | Borderou de evaluare (job #1293226)
Borderou de evaluare (job #1293226)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:71:10: warning: suggest parentheses around comparison in operand of ‘^’ [-Wparentheses]
if (s^a[i] < a[i]) ans += b[i][s^a[i]];
^
user.cpp:11:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("joc2.in", "r", stdin);
^
user.cpp:12:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("joc2.out", "w", stdout);
^
user.cpp:47:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &n);
^
user.cpp:51:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d", &j, &k);
^
user.cpp:55:36: warning: iteration 40u invokes undefined behavior [-Waggressive-loop-optimizations]
b[i][p] = how_many[j][k][p];
^
user.cpp:54:5: note: containing loop
for (int p=0; p<=100; p++)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 4780kb | OK | 5 |
2 | 12ms | 4772kb | OK | 5 |
3 | 12ms | 4776kb | OK | 5 |
4 | 12ms | 4776kb | OK | 5 |
5 | 12ms | 4780kb | OK | 5 |
6 | 12ms | 4780kb | OK | 5 |
7 | 12ms | 4776kb | OK | 5 |
8 | 12ms | 4776kb | OK | 5 |
9 | 12ms | 4776kb | OK | 5 |
10 | 12ms | 4780kb | OK | 5 |
11 | 12ms | 4776kb | OK | 5 |
12 | 12ms | 4784kb | OK | 5 |
13 | 12ms | 4780kb | OK | 5 |
14 | 12ms | 4784kb | OK | 5 |
15 | 12ms | 4788kb | OK | 5 |
16 | 12ms | 4788kb | OK | 5 |
17 | 12ms | 4792kb | OK | 5 |
18 | 12ms | 4788kb | OK | 5 |
19 | 12ms | 4788kb | OK | 5 |
20 | 12ms | 4792kb | OK | 5 |
Punctaj total | 100 |