Borderou de evaluare (job #4674)

Utilizator wefgefAndrei Grigorean wefgef Data 6 ianuarie 2007 08:47:48
Problema Sortnet Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

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
148ms480kbOK5
248ms484kbOK5
348ms484kbOK5
448ms488kbOK5
5192ms1252kbOK5
6192ms1252kbOK5
7196ms1248kbOK5
8192ms1256kbOK5
9384ms4328kbOK5
10384ms4320kbOK5
11384ms4320kbOK5
12380ms4320kbOK5
13Depăşit2624kbTime limit exceeded.0
14Depăşit2668kbTime limit exceeded.0
15Depăşit2660kbTime limit exceeded.0
16Depăşit2628kbTime limit exceeded.0
17Depăşit2608kbTime limit exceeded.0
18Depăşit2616kbTime limit exceeded.0
19Depăşit2616kbTime limit exceeded.0
20Depăşit2624kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?