Pagini recente »
Borderou de evaluare (job #782218)
Borderou de evaluare (job #782218)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:18:29: warning: unused variable 'i' [-Wunused-variable]
18 | int n, a, a2, c, s = 0, i = 1, d = -1, dmax = -1, nr;
| ^
main.cpp:30:24: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized]
30 | d = max((c * c), s) - min((c * c), s);
| ~~~^~~~
main.cpp:18:19: note: 'c' was declared here
18 | int n, a, a2, c, s = 0, i = 1, d = -1, dmax = -1, nr;
| ^
main.cpp:37:13: warning: 'nr' may be used uninitialized [-Wmaybe-uninitialized]
37 | fout << nr;
| ^~
main.cpp:18:55: note: 'nr' was declared here
18 | 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
|
245 kb
|
Incorect
|
0
|
|
3
|
1 ms
|
266 kb
|
Incorect
|
0
|
|
4
|
1 ms
|
266 kb
|
OK
|
5
|
|
5
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
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
|
266 kb
|
Incorect
|
0
|
|
11
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
12
|
1 ms
|
270 kb
|
Incorect
|
0
|
|
13
|
9 ms
|
245 kb
|
Incorect
|
0
|
|
14
|
9 ms
|
512 kb
|
Incorect
|
0
|
|
15
|
29 ms
|
274 kb
|
Incorect
|
0
|
|
16
|
69 ms
|
249 kb
|
Incorect
|
0
|
|
17
|
129 ms
|
249 kb
|
Incorect
|
0
|
|
18
|
339 ms
|
270 kb
|
Incorect
|
0
|
|
19
|
339 ms
|
249 kb
|
Incorect
|
0
|
|
20
|
329 ms
|
249 kb
|
Incorect
|
0
|
|
Punctaj total
|
10
|