Borderou de evaluare (job #2026571)
Raport evaluator
Compilare:
user.cpp: In function ‘sol dfs(int)’:
user.cpp:39:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < N[nod].size (); i++) {
^
user.cpp:40:14: warning: unused variable ‘x’ [-Wunused-variable]
char x = N[nod][i];
^
user.cpp: In function ‘void drum(int, int)’:
user.cpp:56:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < N[nod].size (); i++) {
^
user.cpp:58:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (v[vecin] == 0 && d[nod].Max - 1 == d[vecin].Max) {
^
user.cpp:58:55: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (v[vecin] == 0 && d[nod].Max - 1 == d[vecin].Max) {
^
user.cpp:59:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (sc + d[vecin].nr < k)
^
user.cpp:60:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sc += d[vecin].nr;
^
user.cpp: In function ‘int main()’:
user.cpp:76:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
N[code (x[0])].push_back (code (x[2]));
^
user.cpp:77:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (t[code (x[0])] == 0)
^
user.cpp:78:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
t[code (x[0])] = 1;
^
user.cpp:79:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
t[code (x[2])] = 2;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 412kb | Incorect | 0 |
2 | 0ms | 408kb | Incorect | 0 |
3 | 0ms | 400kb | Incorect | 0 |
4 | 0ms | 408kb | Incorect | 0 |
5 | Depăşit | 396kb | Time limit exceeded. | 0 |
6 | 88ms | 416kb | Incorect | 0 |
7 | 0ms | 412kb | Incorect | 0 |
8 | Depăşit | 396kb | Time limit exceeded. | 0 |
9 | Depăşit | 396kb | Time limit exceeded. | 0 |
10 | Depăşit | 396kb | Time limit exceeded. | 0 |
Punctaj total | 0 |