Pagini recente »
Borderou de evaluare (job #9479)
|
Borderou de evaluare (job #671019)
|
Borderou de evaluare (job #42351)
|
Borderou de evaluare (job #21967)
|
Borderou de evaluare (job #657215)
Borderou de evaluare (job #657215)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:40:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
40 | if(ka<0 && kb<0 || ka<0 || kb<0)
| ~~~~~^~~~~~~
main.cpp:12:17: warning: unused variable 'r1' [-Wunused-variable]
12 | int ka, kb, r1, r2, a, n, r=0, i, c1=0, c2=1, kka, kkb;
| ^~
main.cpp:12:21: warning: unused variable 'r2' [-Wunused-variable]
12 | int ka, kb, r1, r2, a, n, r=0, i, c1=0, c2=1, kka, kkb;
| ^~
main.cpp:12:25: warning: unused variable 'a' [-Wunused-variable]
12 | int ka, kb, r1, r2, a, n, r=0, i, c1=0, c2=1, kka, kkb;
| ^
main.cpp:12:28: warning: unused variable 'n' [-Wunused-variable]
12 | int ka, kb, r1, r2, a, n, r=0, i, c1=0, c2=1, kka, kkb;
| ^
main.cpp:18:14: warning: iteration 97 invokes undefined behavior [-Waggressive-loop-optimizations]
18 | v[i] = v[i - 1] + v[i - 2];
| ~~~~~^~~~~~~~~~~~~~~~~~~~~
main.cpp:16:15: note: within this loop
16 | for(i=3; i<=100; i++)
| ~^~~~~
main.cpp:45:32: warning: 'kkb' may be used uninitialized in this function [-Wmaybe-uninitialized]
45 | out<<r-1<<'\n'<<kka<<'\n'<<kkb;
| ^~~
main.cpp:45:26: warning: 'kka' may be used uninitialized in this function [-Wmaybe-uninitialized]
45 | out<<r-1<<'\n'<<kka<<'\n'<<kkb;
| ^~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
114 kb
|
Incorect
|
0
|
2
|
1 ms
|
114 kb
|
Incorect
|
0
|
3
|
1 ms
|
110 kb
|
Incorect
|
0
|
4
|
1 ms
|
114 kb
|
Incorect
|
0
|
5
|
1 ms
|
114 kb
|
Incorect
|
0
|
6
|
1 ms
|
114 kb
|
Incorect
|
0
|
7
|
1 ms
|
114 kb
|
Incorect
|
0
|
8
|
1 ms
|
114 kb
|
Incorect
|
0
|
9
|
1 ms
|
114 kb
|
Incorect
|
0
|
10
|
1 ms
|
114 kb
|
Incorect
|
0
|
Punctaj total
|
0
|