Pagini recente » Cod sursa (job #696176) | Cod sursa (job #2138951) | Borderou de evaluare (job #3350430) | Monitorul de evaluare | Borderou de evaluare (job #2280237)
Borderou de evaluare (job #2280237)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:36:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (profit[n]>max1)
^~
main.cpp:38:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
profit[3]=0;
^~~~~~
main.cpp:9:13: warning: unused variable 'j' [-Wunused-variable]
int n,i,j,max1=0;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 131kb | OK | 10 |
| 2 | 4ms | 262kb | OK | 10 |
| 3 | 22ms | 917kb | Incorect | 0 |
| 4 | 9ms | 393kb | OK | 10 |
| 5 | 16ms | 655kb | Incorect | 0 |
| 6 | 2ms | 131kb | Incorect | 0 |
| 7 | 2ms | 131kb | OK | 10 |
| 8 | 2ms | 131kb | OK | 10 |
| 9 | 2ms | 131kb | OK | 10 |
| 10 | 4ms | 262kb | Incorect | 0 |
| Punctaj total | 60 |