Pagini recente » Borderou de evaluare (job #2620999) | Borderou de evaluare (job #3289981) | Borderou de evaluare (job #2932953) | Borderou de evaluare (job #2712217) | Borderou de evaluare (job #2836969)
Borderou de evaluare (job #2836969)
Raport evaluator
Compilare:
main.cpp: In function 'bool termen()':
main.cpp:75:34: warning: array subscript has type 'char' [-Wchar-subscripts]
75 | return c[poz_litere[a[poz]]] - 48;
| ~~~~~^
main.cpp:76:32: warning: array subscript has type 'char' [-Wchar-subscripts]
76 | return !(c[poz_litere[a[poz]]] - 48);
| ~~~~~^
main.cpp: In function 'int main()':
main.cpp:104:31: warning: array subscript has type 'char' [-Wchar-subscripts]
104 | poz_litere[a[j]] = litere.size() - 1;
| ~~~^
main.cpp:106:31: warning: array subscript has type 'char' [-Wchar-subscripts]
106 | verificare[a[j]]++;
| ~~~^
main.cpp:116:31: warning: array subscript has type 'char' [-Wchar-subscripts]
116 | poz_litere[b[j]] = litere.size() - 1;
| ~~~^
main.cpp:118:31: warning: array subscript has type 'char' [-Wchar-subscripts]
118 | verificare[b[j]]++;
| ~~~^
main.cpp:130:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
130 | for(int j = 0; j < litere.size(); j++)
| ~~^~~~~~~~~~~~~~~
main.cpp:92:28: warning: array subscript 256 is above array bounds of 'int [256]' [-Warray-bounds]
92 | poz_litere[(1 << 8)] = {0};
| ~~~~~~~~~~~~~~~~~~~^
main.cpp:17:5: note: while referencing 'poz_litere'
17 | int poz_litere[(1 << 8)];
| ^~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | Incorect | 0 |
2 | 59ms | 200kb | Killed by Signal 11 | 0 |
3 | 103ms | 200kb | Time limit exceeded | 0 |
4 | 103ms | 200kb | Time limit exceeded | 0 |
5 | 1ms | 184kb | Killed by Signal 11 | 0 |
6 | 2ms | 184kb | Killed by Signal 11 | 0 |
7 | 103ms | 200kb | Time limit exceeded | 0 |
8 | 103ms | 200kb | Time limit exceeded | 0 |
9 | 11ms | 200kb | Killed by Signal 11 | 0 |
10 | 103ms | 217kb | Time limit exceeded | 0 |
Punctaj total | 0 |