Pagini recente »
Borderou de evaluare (job #801061)
|
Borderou de evaluare (job #657899)
|
Borderou de evaluare (job #90049)
|
Borderou de evaluare (job #725817)
|
Borderou de evaluare (job #793438)
Borderou de evaluare (job #793438)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:17:23: warning: 'r1' may be used uninitialized [-Wmaybe-uninitialized]
17 | r1++;
| ~~^~
main.cpp:12:17: note: 'r1' was declared here
12 | int n,a,r1,r2,r3,c,f,b;
| ^~
main.cpp:19:23: warning: 'r2' may be used uninitialized [-Wmaybe-uninitialized]
19 | r2++;
| ~~^~
main.cpp:12:20: note: 'r2' was declared here
12 | int n,a,r1,r2,r3,c,f,b;
| ^~
main.cpp:21:23: warning: 'r3' may be used uninitialized [-Wmaybe-uninitialized]
21 | r3++;
| ~~^~
main.cpp:12:23: note: 'r3' was declared here
12 | int n,a,r1,r2,r3,c,f,b;
| ^~
main.cpp:24:18: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized]
24 | c=c+(a%10);
| ~^~~~~~~~~
main.cpp:12:26: note: 'c' was declared here
12 | int n,a,r1,r2,r3,c,f,b;
| ^
main.cpp:23:18: warning: 'f' may be used uninitialized [-Wmaybe-uninitialized]
23 | f=f+(a%100/10);
| ~^~~~~~~~~~~~~
main.cpp:12:28: note: 'f' was declared here
12 | int n,a,r1,r2,r3,c,f,b;
| ^
main.cpp:22:18: warning: 'b' may be used uninitialized [-Wmaybe-uninitialized]
22 | b=b+(a%1000/100);
| ~^~~~~~~~~~~~~~~
main.cpp:12:30: note: 'b' was declared here
12 | int n,a,r1,r2,r3,c,f,b;
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
507 kb
|
Incorect
|
0
|
2
|
1 ms
|
245 kb
|
Incorect
|
0
|
3
|
1 ms
|
245 kb
|
Incorect
|
0
|
4
|
1 ms
|
245 kb
|
Incorect
|
0
|
5
|
1 ms
|
245 kb
|
Incorect
|
0
|
6
|
2 ms
|
507 kb
|
Incorect
|
0
|
7
|
1 ms
|
245 kb
|
Incorect
|
0
|
8
|
1 ms
|
245 kb
|
Incorect
|
0
|
9
|
1 ms
|
262 kb
|
Incorect
|
0
|
10
|
1 ms
|
245 kb
|
Incorect
|
0
|
Punctaj total
|
0
|