Pagini recente » Borderou de evaluare (job #2217884) | Borderou de evaluare (job #2128639) | Borderou de evaluare (job #2454182) | Borderou de evaluare (job #863118) | Borderou de evaluare (job #2361512)
Borderou de evaluare (job #2361512)
Raport evaluator
Compilare:
main.cpp: In function 'int Evalueaza()':
main.cpp:45:20: warning: NULL used in arithmetic [-Wpointer-arith]
while (a[i] != NULL)
^~~~
main.cpp:61:34: warning: array subscript has type 'char' [-Wchar-subscripts]
vals.push(valori[a[i]]);
^
main.cpp: In function 'int main()':
main.cpp:141:20: warning: NULL used in arithmetic [-Wpointer-arith]
while (s[i] != NULL)
^~~~
main.cpp:162:24: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null]
c[++top] = NULL;
^~~~
main.cpp:153:17: warning: variable 'ok' set but not used [-Wunused-but-set-variable]
int ok = 0;
^~
main.cpp:195:15: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null]
a[++vf] = NULL;
^~~~
main.cpp:198:21: warning: array subscript has type 'char' [-Wchar-subscripts]
valori[nr[k]] = !valori[nr[k]];
^
main.cpp:198:38: warning: array subscript has type 'char' [-Wchar-subscripts]
valori[nr[k]] = !valori[nr[k]];
^
main.cpp: In function 'int GetPriority(char)':
main.cpp:27:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
main.cpp: In function 'int GetValue(bool, bool, char)':
main.cpp:38:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 2ms | 131kb | OK | 10 |
5 | 3ms | 131kb | OK | 10 |
6 | 3ms | 131kb | Incorect | 0 |
7 | 3ms | 131kb | OK | 10 |
8 | 3ms | 131kb | OK | 10 |
9 | 3ms | 131kb | Incorect | 0 |
10 | 3ms | 131kb | OK | 10 |
Punctaj total | 80 |