Pagini recente » Borderou de evaluare (job #2311484) | Borderou de evaluare (job #283234) | Borderou de evaluare (job #1609400) | Borderou de evaluare (job #1627262) | Borderou de evaluare (job #2130253)
Borderou de evaluare (job #2130253)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f[v[i]]++;
^
user.cpp:42:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f1[v[i]]++;
^
user.cpp:77:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nr=f1[ch]+f1[tolower(ch)];
^
user.cpp:79:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nr=f1[ch]+f1[toupper(ch)];
^
user.cpp:98:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ans2+=f[ch];
^
user.cpp:110:16: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if ((n%p!=0 && 3*k>n/p) || (n%p==0 && 3*k>=n/p))
^
user.cpp:119:19: warning: narrowing conversion of ‘n’ from ‘long long int’ to ‘int’ inside { } [-Wnarrowing]
raspuns[i]={i,n,ans1,ans2,ch,0};
^
user.cpp:125:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
poz++, f2[v[poz]]++;
^
user.cpp:126:64: warning: array subscript has type ‘char’ [-Wchar-subscripts]
raspuns[urm].solfin=raspuns[urm].sol+f2[raspuns[urm].c2];
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1200kb | Corect | 10 |
| 2 | 0ms | 1204kb | Corect | 5 |
| 3 | 4ms | 1240kb | Corect | 5 |
| 4 | 4ms | 1240kb | Corect | 5 |
| 5 | 168ms | 2308kb | Corect | 5 |
| 6 | 192ms | 2468kb | Corect | 5 |
| 7 | 212ms | 2616kb | Corect | 5 |
| 8 | 240ms | 2772kb | Corect | 5 |
| 9 | 4ms | 1240kb | Corect | 5 |
| 10 | 4ms | 1244kb | Corect | 5 |
| 11 | 8ms | 1240kb | Corect | 5 |
| 12 | 12ms | 1240kb | Corect | 5 |
| 13 | 220ms | 2324kb | Corect | 5 |
| 14 | 248ms | 2488kb | Corect | 5 |
| 15 | 264ms | 2592kb | Corect | 5 |
| 16 | 356ms | 2668kb | Corect | 5 |
| 17 | 460ms | 2732kb | Corect | 5 |
| 18 | 612ms | 2800kb | Corect | 5 |
| 19 | 640ms | 2860kb | Corect | 5 |
| Punctaj total | 100 |