Pagini recente » Borderou de evaluare (job #230390) | Borderou de evaluare (job #2091615) | Borderou de evaluare (job #1977831) | Borderou de evaluare (job #2314718) | Borderou de evaluare (job #2320283)
Borderou de evaluare (job #2320283)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:33:13: warning: array subscript has type 'char' [-Wchar-subscripts]
a[c1][c2] = 1;
^
main.cpp:33:17: warning: array subscript has type 'char' [-Wchar-subscripts]
a[c1][c2] = 1;
^
main.cpp:34:13: warning: array subscript has type 'char' [-Wchar-subscripts]
a[c2][c1] = 1;
^
main.cpp:34:17: warning: array subscript has type 'char' [-Wchar-subscripts]
a[c2][c1] = 1;
^
main.cpp: In function 'void init()':
main.cpp:21:17: warning: iteration 25 invokes undefined behavior [-Waggressive-loop-optimizations]
d[1][i] = 1;
~~~~~~~~^~~
main.cpp:20:19: note: within this loop
for(int i=1; i<=LITERE; i++)
~^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:56:22: warning: iteration 25 invokes undefined behavior [-Waggressive-loop-optimizations]
ans += d[n][i];
~~~~~~^
main.cpp:54:19: note: within this loop
for(int i=1; i<=LITERE; i++)
~^~~~~~~~
main.cpp:45:26: warning: iteration 1 invokes undefined behavior [-Waggressive-loop-optimizations]
if(a[k][j] == 0 || a[j][k] == 0)
~~~~~~^
main.cpp:41:23: note: within this loop
for(int j=1; j<=LITERE; j++)
~^~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 5 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 2ms | 131kb | Incorect | 0 |
4 | 2ms | 131kb | Incorect | 0 |
5 | 2ms | 131kb | Incorect | 0 |
6 | 2ms | 131kb | Incorect | 0 |
7 | 2ms | 131kb | Incorect | 0 |
8 | 2ms | 131kb | Incorect | 0 |
9 | 2ms | 131kb | Incorect | 0 |
10 | 2ms | 131kb | Incorect | 0 |
11 | 2ms | 131kb | Incorect | 0 |
12 | 2ms | 131kb | Incorect | 0 |
13 | 3ms | 131kb | Incorect | 0 |
14 | 3ms | 131kb | Incorect | 0 |
15 | 3ms | 131kb | Incorect | 0 |
16 | 3ms | 131kb | Incorect | 0 |
17 | 4ms | 131kb | Incorect | 0 |
18 | 4ms | 131kb | Incorect | 0 |
19 | 4ms | 262kb | Incorect | 0 |
20 | 4ms | 131kb | OK | 5 |
Punctaj total | 10 |