Pagini recente » Borderou de evaluare (job #2208601) | Borderou de evaluare (job #499442) | Borderou de evaluare (job #3165508) | Borderou de evaluare (job #333781) | Borderou de evaluare (job #3165698)
Borderou de evaluare (job #3165698)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:11:66: warning: unused variable 'x' [-Wunused-variable]
11 | int n, s=0, t, smin=0, first, last, firstin, lastin, i1, i2, x, i, sinit=0;
| ^
main.cpp:69:39: warning: 'last' may be used uninitialized [-Wmaybe-uninitialized]
69 | fout<<s<<" "<<first<<" "<<last-first+1;
| ~~~~^~~~~~
main.cpp:11:35: note: 'last' was declared here
11 | int n, s=0, t, smin=0, first, last, firstin, lastin, i1, i2, x, i, sinit=0;
| ^~~~
main.cpp:69:39: warning: 'first' may be used uninitialized [-Wmaybe-uninitialized]
69 | fout<<s<<" "<<first<<" "<<last-first+1;
| ~~~~^~~~~~
main.cpp:11:28: note: 'first' was declared here
11 | int n, s=0, t, smin=0, first, last, firstin, lastin, i1, i2, x, i, sinit=0;
| ^~~~~
main.cpp:73:42: warning: 'lastin' may be used uninitialized [-Wmaybe-uninitialized]
73 | fout<<smin<<" "<<lastin+1<<" "<<n-lastin+firstin-1;
| ~^~~~~~~
main.cpp:11:50: note: 'lastin' was declared here
11 | int n, s=0, t, smin=0, first, last, firstin, lastin, i1, i2, x, i, sinit=0;
| ^~~~~~
main.cpp:73:49: warning: 'firstin' may be used uninitialized [-Wmaybe-uninitialized]
73 | fout<<smin<<" "<<lastin+1<<" "<<n-lastin+firstin-1;
| ~~~~~~~~^~~~~~~~
main.cpp:11:41: note: 'firstin' was declared here
11 | int n, s=0, t, smin=0, first, last, firstin, lastin, i1, i2, x, i, sinit=0;
| ^~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | OK! | 10 |
| 2 | 0ms | 303kb | OK! | 10 |
| 3 | 0ms | 303kb | OK! | 10 |
| 4 | 1ms | 303kb | OK! | 10 |
| 5 | 2ms | 557kb | OK! | 10 |
| 6 | 5ms | 819kb | OK! | 10 |
| 7 | 7ms | 1081kb | OK! | 10 |
| 8 | 9ms | 819kb | OK! | 10 |
| 9 | 9ms | 819kb | OK! | 10 |
| 10 | 9ms | 823kb | OK! | 10 |
| Punctaj total | 100 |