Pagini recente »
Borderou de evaluare (job #100825)
|
Borderou de evaluare (job #692552)
|
Borderou de evaluare (job #634188)
|
Borderou de evaluare (job #435960)
|
Borderou de evaluare (job #618251)
Borderou de evaluare (job #618251)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:29:27: warning: array subscript 0 is outside array bounds of 'long long int [(<anonymous> + 1)]' [-Warray-bounds]
29 | long long AMax = sum[0] , cntA = 0;
| ~~~~~^
main.cpp:15:38: note: while referencing 'sum.32'
15 | long long munti = 0 , hMax = 0 , sum [munti] , indSum = 0;
| ^~~
main.cpp:33:24: warning: array subscript ind is outside array bounds of 'long long int [(<anonymous> + 1)]' [-Warray-bounds]
33 | cntA += sum[ind] == AMax;
| ~~~~~~~^
main.cpp:15:38: note: while referencing 'sum.32'
15 | long long munti = 0 , hMax = 0 , sum [munti] , indSum = 0;
| ^~~
main.cpp:31:34: warning: array subscript ind is outside array bounds of 'long long int [(<anonymous> + 1)]' [-Warray-bounds]
31 | AMax = max(AMax , sum[ind]);
| ~~~~~~~^
main.cpp:15:38: note: while referencing 'sum.32'
15 | long long munti = 0 , hMax = 0 , sum [munti] , indSum = 0;
| ^~~
main.cpp:31:34: warning: array subscript ind is outside array bounds of 'long long int [(<anonymous> + 1)]' [-Warray-bounds]
31 | AMax = max(AMax , sum[ind]);
| ~~~~~~~^
main.cpp:15:38: note: while referencing 'sum.32'
15 | long long munti = 0 , hMax = 0 , sum [munti] , indSum = 0;
| ^~~
main.cpp:22:25: warning: array subscript indSum is outside array bounds of 'long long int [(<anonymous> + 1)]' [-Warray-bounds]
22 | sum[indSum] += sum[ind];
| ~~~~~~~~~~~~^~~~~~~~~~~
main.cpp:15:38: note: while referencing 'sum.32'
15 | long long munti = 0 , hMax = 0 , sum [munti] , indSum = 0;
| ^~~
main.cpp:22:35: warning: array subscript ind is outside array bounds of 'long long int [(<anonymous> + 1)]' [-Warray-bounds]
22 | sum[indSum] += sum[ind];
| ~~~~~~~^
main.cpp:15:38: note: while referencing 'sum.32'
15 | long long munti = 0 , hMax = 0 , sum [munti] , indSum = 0;
| ^~~
main.cpp:22:25: warning: array subscript indSum is outside array bounds of 'long long int [(<anonymous> + 1)]' [-Warray-bounds]
22 | sum[indSum] += sum[ind];
| ~~~~~~~~~~~~^~~~~~~~~~~
main.cpp:15:38: note: while referencing 'sum.32'
15 | long long munti = 0 , hMax = 0 , sum [munti] , indSum = 0;
| ^~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
131 kb
|
1:OK 2:OK 3:OK 4:NU 5:NU
|
6
|
2
|
1 ms
|
131 kb
|
1:OK 2:OK 3:OK 4:NU 5:NU
|
6
|
3
|
1 ms
|
131 kb
|
1:OK 2:OK 3:OK 4:NU 5:NU
|
6
|
4
|
1 ms
|
131 kb
|
1:OK 2:OK 3:OK 4:NU 5:NU
|
6
|
5
|
1 ms
|
258 kb
|
1:OK 2:OK 3:OK 4:NU 5:NU
|
6
|
6
|
8 ms
|
262 kb
|
Killed by Signal 11
|
0
|
7
|
44 ms
|
913 kb
|
1:OK 2:OK 3:OK 4:NU 5:NU
|
6
|
8
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
9
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
10
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
Punctaj total
|
36
|