Pagini recente » Borderou de evaluare (job #560686) | Borderou de evaluare (job #1420367) | Borderou de evaluare (job #112729) | Borderou de evaluare (job #3154627) | Borderou de evaluare (job #2605096)
Borderou de evaluare (job #2605096)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:17:19: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
fin>>ch>>s+1;
~^~
main.cpp:20:19: warning: array subscript has type 'char' [-Wchar-subscripts]
L[s[1]].push_back(ch);
^
main.cpp:21:18: warning: array subscript has type 'char' [-Wchar-subscripts]
else a[ch].push_back(make_pair(s[1],s[2]));
^
main.cpp:31:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
fin>>s+1;
~^~
main.cpp:40:36: warning: array subscript has type 'char' [-Wchar-subscripts]
for (int it=0;it<L[s[i]].size();it++)
^
main.cpp:40:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int it=0;it<L[s[i]].size();it++)
~~^~~~~~~~~~~~~~~
main.cpp:41:32: warning: array subscript has type 'char' [-Wchar-subscripts]
dp[i][i][L[s[i]][it]-65] = 1;
^
main.cpp:69:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<v.size() && !ok;i++){
~^~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 9ms | 1441kb | OK | 10 |
4 | 33ms | 1703kb | OK | 10 |
5 | 28ms | 1703kb | OK | 10 |
6 | 104ms | 655kb | OK | 10 |
7 | 63ms | 786kb | OK | 10 |
8 | 479ms | 1703kb | OK | 10 |
9 | 948ms | 1572kb | OK | 10 |
10 | 1118ms | 1835kb | OK | 10 |
Punctaj total | 100 |