Pagini recente » Borderou de evaluare (job #1166422) | Borderou de evaluare (job #2296791) | Borderou de evaluare (job #505097) | Borderou de evaluare (job #2170066) | Borderou de evaluare (job #3038941)
Borderou de evaluare (job #3038941)
Raport evaluator
Compilare:
main.cpp:11:8: warning: left operand of comma operator has no effect [-Wunused-value]
11 | }q[]={(2,1),(3,7),(4,4),(5,5),(5,3),(5,2),(6,9),(6,6),(7,8)};
| ^
main.cpp:11:14: warning: left operand of comma operator has no effect [-Wunused-value]
11 | }q[]={(2,1),(3,7),(4,4),(5,5),(5,3),(5,2),(6,9),(6,6),(7,8)};
| ^
main.cpp:11:20: warning: left operand of comma operator has no effect [-Wunused-value]
11 | }q[]={(2,1),(3,7),(4,4),(5,5),(5,3),(5,2),(6,9),(6,6),(7,8)};
| ^
main.cpp:11:26: warning: left operand of comma operator has no effect [-Wunused-value]
11 | }q[]={(2,1),(3,7),(4,4),(5,5),(5,3),(5,2),(6,9),(6,6),(7,8)};
| ^
main.cpp:11:32: warning: left operand of comma operator has no effect [-Wunused-value]
11 | }q[]={(2,1),(3,7),(4,4),(5,5),(5,3),(5,2),(6,9),(6,6),(7,8)};
| ^
main.cpp:11:38: warning: left operand of comma operator has no effect [-Wunused-value]
11 | }q[]={(2,1),(3,7),(4,4),(5,5),(5,3),(5,2),(6,9),(6,6),(7,8)};
| ^
main.cpp:11:44: warning: left operand of comma operator has no effect [-Wunused-value]
11 | }q[]={(2,1),(3,7),(4,4),(5,5),(5,3),(5,2),(6,9),(6,6),(7,8)};
| ^
main.cpp:11:50: warning: left operand of comma operator has no effect [-Wunused-value]
11 | }q[]={(2,1),(3,7),(4,4),(5,5),(5,3),(5,2),(6,9),(6,6),(7,8)};
| ^
main.cpp:11:56: warning: left operand of comma operator has no effect [-Wunused-value]
11 | }q[]={(2,1),(3,7),(4,4),(5,5),(5,3),(5,2),(6,9),(6,6),(7,8)};
| ^
main.cpp: In function 'int main()':
main.cpp:44:25: warning: iteration 5 invokes undefined behavior [-Waggressive-loop-optimizations]
44 | if(pow+q[i].power<=p && q[i].nr<=last){
| ~~~~~^~~~~
main.cpp:43:22: note: within this loop
43 | for(int i=0;i<=8;i++){
| ~^~~
main.cpp:44:34: warning: 'last' may be used uninitialized [-Wmaybe-uninitialized]
44 | if(pow+q[i].power<=p && q[i].nr<=last){
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
main.cpp:30:13: note: 'last' was declared here
30 | int last;
| ^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | Valoare incorecta cerinta 2 ! | 1 |
2 | 0ms | 303kb | Valoare incorecta cerinta 2 ! | 1 |
3 | 0ms | 303kb | Valoare incorecta cerinta 2 ! | 1 |
4 | 0ms | 303kb | Te stii ! | 5 |
5 | 0ms | 303kb | Valoare incorecta cerinta 2 ! | 1 |
6 | 0ms | 303kb | Valoare incorecta cerinta 2 ! | 1 |
7 | 0ms | 303kb | Valoare incorecta cerinta 2 ! | 1 |
8 | 0ms | 303kb | Valoare incorecta cerinta 2 ! | 1 |
9 | 0ms | 303kb | Te stii ! | 5 |
10 | 0ms | 303kb | Valoare incorecta cerinta 2 ! | 1 |
11 | 0ms | 303kb | Valoare incorecta cerinta 2 ! | 1 |
12 | 0ms | 303kb | Valoare incorecta cerinta 2 ! | 1 |
13 | 0ms | 303kb | Valoare incorecta cerinta 2 ! | 1 |
14 | 0ms | 303kb | Valoare incorecta cerinta 2 ! | 1 |
15 | 0ms | 303kb | Valoare incorecta cerinta 2 ! | 1 |
16 | 0ms | 303kb | Valoare incorecta cerinta 2 ! | 1 |
17 | 0ms | 303kb | Valoare incorecta cerinta 2 ! | 1 |
18 | 0ms | 303kb | Valoare incorecta cerinta 2 ! | 1 |
19 | 0ms | 303kb | Valoare incorecta cerinta 2 ! | 1 |
20 | 0ms | 303kb | Incorect ! | 0 |
Punctaj total | 27 |