Pagini recente »
Borderou de evaluare (job #771709)
|
Borderou de evaluare (job #671013)
|
Borderou de evaluare (job #794368)
|
Borderou de evaluare (job #228873)
|
Borderou de evaluare (job #748814)
Borderou de evaluare (job #748814)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:5:9: warning: unused variable 'N' [-Wunused-variable]
5 | int N,C,K,j,n,k=0, sum=1;
| ^
main.cpp:9:24: warning: 'n' is used uninitialized [-Wuninitialized]
9 | vector<int> gifts(n);
| ^
main.cpp:5:17: note: 'n' was declared here
5 | int N,C,K,j,n,k=0, sum=1;
| ^
main.cpp:17:9: warning: 'C' may be used uninitialized [-Wmaybe-uninitialized]
17 | if (C == 1) {
| ^~
main.cpp:5:11: note: 'C' was declared here
5 | int N,C,K,j,n,k=0, sum=1;
| ^
main.cpp:20:13: warning: 'K' may be used uninitialized [-Wmaybe-uninitialized]
20 | if (j % 10 == K) {
| ^~
main.cpp:5:13: note: 'K' was declared here
5 | int N,C,K,j,n,k=0, sum=1;
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
5 ms
|
249 kb
|
Incorect
|
0
|
2
|
5 ms
|
249 kb
|
Incorect
|
0
|
3
|
5 ms
|
249 kb
|
Incorect
|
0
|
4
|
5 ms
|
249 kb
|
Incorect
|
0
|
5
|
5 ms
|
249 kb
|
Incorect
|
0
|
6
|
5 ms
|
249 kb
|
Incorect
|
0
|
7
|
5 ms
|
249 kb
|
Incorect
|
0
|
8
|
5 ms
|
249 kb
|
Incorect
|
0
|
9
|
5 ms
|
249 kb
|
Incorect
|
0
|
10
|
5 ms
|
245 kb
|
Incorect
|
0
|
11
|
5 ms
|
249 kb
|
Incorect
|
0
|
12
|
5 ms
|
249 kb
|
Incorect
|
0
|
13
|
5 ms
|
249 kb
|
Incorect
|
0
|
14
|
5 ms
|
249 kb
|
Incorect
|
0
|
15
|
5 ms
|
245 kb
|
Incorect
|
0
|
16
|
5 ms
|
249 kb
|
Incorect
|
0
|
17
|
5 ms
|
249 kb
|
Incorect
|
0
|
18
|
5 ms
|
249 kb
|
Incorect
|
0
|
19
|
5 ms
|
249 kb
|
Incorect
|
0
|
20
|
5 ms
|
249 kb
|
Incorect
|
0
|
Punctaj total
|
0
|