Pagini recente »
Borderou de evaluare (job #755768)
|
Borderou de evaluare (job #147092)
|
Borderou de evaluare (job #414061)
|
Borderou de evaluare (job #351923)
|
Borderou de evaluare (job #782226)
Borderou de evaluare (job #782226)
Raport evaluator
Compilare:
main.cpp: In function 'int dezeechilibru()':
main.cpp:19:1: warning: no return statement in function returning non-void [-Wreturn-type]
19 | }
| ^
main.cpp: In function 'int main()':
main.cpp:22:29: warning: unused variable 'i' [-Wunused-variable]
22 | int n, a, a2, c, s = 0, i = 1, d = -1, dmax = -1, nr;
| ^
main.cpp:36:20: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized]
36 | d = max((c * c), s) - min((c * c), s);
| ~~~^~~~
main.cpp:22:19: note: 'c' was declared here
22 | int n, a, a2, c, s = 0, i = 1, d = -1, dmax = -1, nr;
| ^
main.cpp:43:13: warning: 'nr' may be used uninitialized [-Wmaybe-uninitialized]
43 | fout << nr;
| ^~
main.cpp:22:55: note: 'nr' was declared here
22 | int n, a, a2, c, s = 0, i = 1, d = -1, dmax = -1, nr;
| ^~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
245 kb
|
OK
|
5
|
|
2
|
1 ms
|
507 kb
|
Incorect
|
0
|
|
3
|
1 ms
|
245 kb
|
OK
|
5
|
|
4
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
5
|
1 ms
|
245 kb
|
OK
|
5
|
|
6
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
7
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
8
|
1 ms
|
507 kb
|
Incorect
|
0
|
|
9
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
10
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
11
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
12
|
1 ms
|
270 kb
|
Incorect
|
0
|
|
13
|
1 ms
|
507 kb
|
Incorect
|
0
|
|
14
|
1 ms
|
249 kb
|
Incorect
|
0
|
|
15
|
9 ms
|
245 kb
|
Incorect
|
0
|
|
16
|
9 ms
|
249 kb
|
Incorect
|
0
|
|
17
|
19 ms
|
249 kb
|
Incorect
|
0
|
|
18
|
59 ms
|
266 kb
|
Incorect
|
0
|
|
19
|
59 ms
|
266 kb
|
Incorect
|
0
|
|
20
|
59 ms
|
266 kb
|
Incorect
|
0
|
|
Penalizare: 10% (pentru 2 submisie/ii)
|
10%
|
|
Punctaj total
|
13
|