Pagini recente » Cod sursa (job #390933) | Cod sursa (job #712166) | Borderou de evaluare (job #1993146) | Cod sursa (job #699294) | Borderou de evaluare (job #2627648)
Borderou de evaluare (job #2627648)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:19:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=k;i++) smax+=a[i];S=smax;u=k,p=1;ct=k;
^~~
main.cpp:19:38: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(i=1;i<=k;i++) smax+=a[i];S=smax;u=k,p=1;ct=k;
^
main.cpp:26:22: warning: 'u' may be used uninitialized in this function [-Wmaybe-uninitialized]
fout<<p<<" "<<u<<" "<<smax;
^~~
main.cpp:26:14: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized]
fout<<p<<" "<<u<<" "<<smax;
^~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK! | 10 |
| 2 | 2ms | 131kb | OK! | 10 |
| 3 | 2ms | 131kb | OK! | 10 |
| 4 | 3ms | 131kb | OK! | 10 |
| 5 | 3ms | 131kb | OK! | 10 |
| 6 | 5ms | 131kb | OK! | 10 |
| 7 | 6ms | 262kb | OK! | 10 |
| 8 | 9ms | 262kb | OK! | 10 |
| 9 | 10ms | 262kb | OK! | 10 |
| 10 | 15ms | 393kb | OK! | 10 |
| Punctaj total | 100 |