Pagini recente » Borderou de evaluare (job #550431) | Borderou de evaluare (job #2127607) | Borderou de evaluare (job #209267) | Borderou de evaluare (job #254293) | Borderou de evaluare (job #982087)
Borderou de evaluare (job #982087)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:16: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (gasit[a]==0) if ((costm[a]-c)>costm[b]) probg=0; else if ((costm[a]-c)==costm[b]) { gasit[a]=1; folos=1;}
^
user.cpp:23:16: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (folos==0) if ((costm[b]-c)>costm[a]) probg=0; else if ((costm[b]-c)==costm[a]) gasit[b]=1;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 4ms | 372kb | OK | 10 | 10 |
| 2 | 8ms | 380kb | OK | 10 | 10 |
| 3 | 12ms | 380kb | OK | 10 | 10 |
| 4 | 28ms | 400kb | OK | 10 | 10 |
| 5 | 44ms | 452kb | OK | 10 | 10 |
| 6 | 108ms | 520kb | OK | 10 | 10 |
| 7 | 132ms | 724kb | OK | 10 | 40 |
| 8 | 52ms | 412kb | OK | 10 |
| 9 | 124ms | 444kb | OK | 10 |
| 10 | 120ms | 512kb | OK | 10 |
| Punctaj total | 100 |