Pagini recente » Borderou de evaluare (job #39967) | Borderou de evaluare (job #1403239) | Borderou de evaluare (job #553916) | Borderou de evaluare (job #2896782) | Borderou de evaluare (job #2529732)
Borderou de evaluare (job #2529732)
Raport evaluator
Compilare:
main.cpp: In function 'void sol(long long int, long long int, bool, long long int)':
main.cpp:20:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(sf-inc+1==start.size()){
~~~~~~~~^~~~~~~~~~~~~~
main.cpp: In function 'int32_t main()':
main.cpp:43:15: warning: array subscript has type 'char' [-Wchar-subscripts]
d[start[0]][0]++;
^
main.cpp:44:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<start.size();i++){
~^~~~~~~~~~~~~
main.cpp:45:19: warning: array subscript has type 'char' [-Wchar-subscripts]
d[start[i]][i]++;
^
main.cpp:69:29: warning: array subscript has type 'char' [-Wchar-subscripts]
long long tot=d[litf][start.size()-1]*alc/2+d[_caps(litf)][start.size()-1]*alc/2;
^
main.cpp:69:66: warning: array subscript has type 'char' [-Wchar-subscripts]
long long tot=d[litf][start.size()-1]*alc/2+d[_caps(litf)][start.size()-1]*alc/2;
^
main.cpp:71:31: warning: array subscript has type 'char' [-Wchar-subscripts]
tot+=d[_caps(litf)][y];
^
main.cpp:73:24: warning: array subscript has type 'char' [-Wchar-subscripts]
tot+=d[litf][y];
^
main.cpp:76:35: warning: array subscript has type 'char' [-Wchar-subscripts]
tot+=d[_caps(litf)][start.size()-1];
^
main.cpp:78:28: warning: array subscript has type 'char' [-Wchar-subscripts]
tot+=d[litf][start.size()-1];
^
main.cpp:74:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if(alc%2==1)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 786kb | Partial corect | 4 |
2 | 5ms | 786kb | Partial corect | 2 |
3 | 7ms | 917kb | Partial corect | 2 |
4 | 7ms | 917kb | Partial corect | 2 |
5 | 55ms | 2490kb | Partial corect | 2 |
6 | 70ms | 3407kb | Partial corect | 2 |
7 | 83ms | 4063kb | Partial corect | 2 |
8 | 95ms | 4718kb | Partial corect | 2 |
9 | 21ms | 1966kb | Partial corect | 2 |
10 | 28ms | 2621kb | Partial corect | 2 |
11 | 20ms | 1835kb | Partial corect | 2 |
12 | 27ms | 2359kb | Corect | 5 |
13 | 175ms | 13238kb | Partial corect | 2 |
14 | 273ms | 22282kb | Partial corect | 2 |
15 | 495ms | 43384kb | Partial corect | 2 |
16 | 601ms | 52559kb | Partial corect | 2 |
17 | 652ms | 55705kb | Partial corect | 2 |
18 | 697ms | 58851kb | Corect | 5 |
19 | 694ms | 61997kb | Corect | 5 |
Punctaj total | 49 |