Pagini recente » Borderou de evaluare (job #2260616) | Borderou de evaluare (job #2749405) | Borderou de evaluare (job #1862270) | Borderou de evaluare (job #3355711) | Borderou de evaluare (job #3316510)
Borderou de evaluare (job #3316510)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:10:14: warning: unused variable 'cnt' [-Wunused-variable]
10 | int n, k, cnt, st = 1, dr = 1, maxi = -30001, x, fst, sec;
| ^~~
main.cpp:10:50: warning: unused variable 'x' [-Wunused-variable]
10 | int n, k, cnt, st = 1, dr = 1, maxi = -30001, x, fst, sec;
| ^
main.cpp:38:33: warning: 'sec' may be used uninitialized [-Wmaybe-uninitialized]
38 | cout << fst << ' ' << sec << ' ' << maxi;
| ^~~
main.cpp:10:58: note: 'sec' was declared here
10 | int n, k, cnt, st = 1, dr = 1, maxi = -30001, x, fst, sec;
| ^~~
main.cpp:38:19: warning: 'fst' may be used uninitialized [-Wmaybe-uninitialized]
38 | cout << fst << ' ' << sec << ' ' << maxi;
| ^~~
main.cpp:10:53: note: 'fst' was declared here
10 | int n, k, cnt, st = 1, dr = 1, maxi = -30001, x, fst, sec;
| ^~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | OK | 10 |
| 2 | 1ms | 303kb | OK | 10 |
| 3 | 4ms | 557kb | OK | 10 |
| 4 | 5ms | 557kb | OK | 10 |
| 5 | 4ms | 557kb | OK | 10 |
| 6 | 8ms | 819kb | OK | 10 |
| 7 | 9ms | 1081kb | OK | 10 |
| 8 | 14ms | 1425kb | OK | 10 |
| 9 | 24ms | 1941kb | OK | 10 |
| 10 | 29ms | 2355kb | OK | 10 |
| Punctaj total | 100 |