Pagini recente » Borderou de evaluare (job #2481391) | Borderou de evaluare (job #1118555) | Borderou de evaluare (job #329936) | Borderou de evaluare (job #1821478) | Borderou de evaluare (job #2941860)
Borderou de evaluare (job #2941860)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:39:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
39 | for(int i = 0; i<strlen(s); i++)
| ~^~~~~~~~~~
main.cpp:43:21: warning: array subscript has type 'char' [-Wchar-subscripts]
43 | stivaop[++kop] = '(';
| ^~~~~
main.cpp:48:28: warning: array subscript has type 'char' [-Wchar-subscripts]
48 | {while(stivaop[kop] != '(')
| ^~~
main.cpp:50:35: warning: array subscript has type 'char' [-Wchar-subscripts]
50 | char op = stivaop[kop];
| ^~~
main.cpp:62:43: warning: array subscript has type 'char' [-Wchar-subscripts]
62 | while(kop > 0 && prior[s[i]]<=prior[stivaop[kop]])
| ~~~^
main.cpp:62:61: warning: array subscript has type 'char' [-Wchar-subscripts]
62 | while(kop > 0 && prior[s[i]]<=prior[stivaop[kop]])
| ^~~
main.cpp:62:64: warning: array subscript has type 'char' [-Wchar-subscripts]
62 | while(kop > 0 && prior[s[i]]<=prior[stivaop[kop]])
| ~~~~~~~~~~~^
main.cpp:64:35: warning: array subscript has type 'char' [-Wchar-subscripts]
64 | char op = stivaop[kop];
| ^~~
main.cpp:71:25: warning: array subscript has type 'char' [-Wchar-subscripts]
71 | stivaop[++kop] = s[i];
| ^~~~~
main.cpp:88:27: warning: array subscript has type 'char' [-Wchar-subscripts]
88 | char op = stivaop[kop];
| ^~~
main.cpp: In function 'int evaluare(int, int, int)':
main.cpp:27:1: warning: control reaches end of non-void function [-Wreturn-type]
27 | }
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 184kb | OK | 10 |
2 | 0ms | 184kb | OK | 10 |
3 | 0ms | 184kb | OK | 10 |
4 | 0ms | 184kb | OK | 10 |
5 | 0ms | 184kb | OK | 10 |
6 | 1ms | 184kb | OK | 10 |
7 | 0ms | 184kb | OK | 10 |
8 | 0ms | 184kb | OK | 10 |
9 | 50ms | 315kb | Time limit exceeded | 0 |
10 | 50ms | 315kb | Time limit exceeded | 0 |
Punctaj total | 80 |