Pagini recente » Borderou de evaluare (job #1382183) | Borderou de evaluare (job #1581503) | Borderou de evaluare (job #36103) | Borderou de evaluare (job #37434) | Borderou de evaluare (job #4674)
Borderou de evaluare (job #4674)
Raport evaluator
Compilare:
user.cpp:10:8: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses]
int v[1<<20+5], cont;
^
user.cpp: In function ‘int valid(int)’:
user.cpp:44:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v1 = min(stare[i-1][c[i][poz]], stare[i-1][poz]);
^
user.cpp:3:19: note: in definition of macro ‘min’
#define min(a, b) a < b ? a : b
^
user.cpp:44:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v1 = min(stare[i-1][c[i][poz]], stare[i-1][poz]);
^
user.cpp:3:27: note: in definition of macro ‘min’
#define min(a, b) a < b ? a : b
^
user.cpp:45:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v2 = max(stare[i-1][c[i][poz]], stare[i-1][poz]);
^
user.cpp:4:19: note: in definition of macro ‘max’
#define max(a, b) a > b ? a : b
^
user.cpp:45:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v2 = max(stare[i-1][c[i][poz]], stare[i-1][poz]);
^
user.cpp:4:27: note: in definition of macro ‘max’
#define max(a, b) a > b ? a : b
^
user.cpp:46:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (stare[i][c[i][poz]] != v1) aux = c[i][poz];
^
user.cpp:48:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
stare[i][c[i][poz]] = v1;
^
user.cpp:55:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v1 = min(stare[i-1][c[i][poz]], stare[i-1][poz]);
^
user.cpp:3:19: note: in definition of macro ‘min’
#define min(a, b) a < b ? a : b
^
user.cpp:55:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v1 = min(stare[i-1][c[i][poz]], stare[i-1][poz]);
^
user.cpp:3:27: note: in definition of macro ‘min’
#define min(a, b) a < b ? a : b
^
user.cpp:56:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v2 = max(stare[i-1][c[i][poz]], stare[i-1][poz]);
^
user.cpp:4:19: note: in definition of macro ‘max’
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 48ms | 480kb | OK | 5 |
2 | 48ms | 484kb | OK | 5 |
3 | 48ms | 484kb | OK | 5 |
4 | 48ms | 488kb | OK | 5 |
5 | 192ms | 1252kb | OK | 5 |
6 | 192ms | 1252kb | OK | 5 |
7 | 196ms | 1248kb | OK | 5 |
8 | 192ms | 1256kb | OK | 5 |
9 | 384ms | 4328kb | OK | 5 |
10 | 384ms | 4320kb | OK | 5 |
11 | 384ms | 4320kb | OK | 5 |
12 | 380ms | 4320kb | OK | 5 |
13 | Depăşit | 2624kb | Time limit exceeded. | 0 |
14 | Depăşit | 2668kb | Time limit exceeded. | 0 |
15 | Depăşit | 2660kb | Time limit exceeded. | 0 |
16 | Depăşit | 2628kb | Time limit exceeded. | 0 |
17 | Depăşit | 2608kb | Time limit exceeded. | 0 |
18 | Depăşit | 2616kb | Time limit exceeded. | 0 |
19 | Depăşit | 2616kb | Time limit exceeded. | 0 |
20 | Depăşit | 2624kb | Time limit exceeded. | 0 |
Punctaj total | 60 |