Pagini recente » Borderou de evaluare (job #929434) | Borderou de evaluare (job #880441) | Borderou de evaluare (job #2964186) | Borderou de evaluare (job #1023957) | Borderou de evaluare (job #3243583)
Borderou de evaluare (job #3243583)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:16:18: warning: right operand of comma operator has no effect [-Wunused-value]
16 | fin >> n, t, k;
| ^
main.cpp:16:19: warning: right operand of comma operator has no effect [-Wunused-value]
16 | fin >> n, t, k;
| ^
main.cpp:102:21: warning: 'sol' may be used uninitialized [-Wmaybe-uninitialized]
102 | fout << sol;
| ^~~
main.cpp:15:90: note: 'sol' was declared here
15 | int n, p1 = 0, p2 = 0, p3 = 0, p4 = 0, p5 = 0, p6 = 0, p7 = 0, t, k,st, dr, mij = 1, sol;
| ^~~
main.cpp:93:23: warning: 'dr' may be used uninitialized [-Wmaybe-uninitialized]
93 | mij = (st + dr) / 2;
| ~~~~^~~~~
main.cpp:15:77: note: 'dr' was declared here
15 | int n, p1 = 0, p2 = 0, p3 = 0, p4 = 0, p5 = 0, p6 = 0, p7 = 0, t, k,st, dr, mij = 1, sol;
| ^~
main.cpp:93:23: warning: 'st' may be used uninitialized [-Wmaybe-uninitialized]
93 | mij = (st + dr) / 2;
| ~~~~^~~~~
main.cpp:15:73: note: 'st' was declared here
15 | int n, p1 = 0, p2 = 0, p3 = 0, p4 = 0, p5 = 0, p6 = 0, p7 = 0, t, k,st, dr, mij = 1, sol;
| ^~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 19ms | 19574kb | Incorect | 0 |
| 2 | 19ms | 20230kb | Incorect | 0 |
| 3 | 19ms | 20340kb | Incorect | 0 |
| 4 | 19ms | 20414kb | Incorect | 0 |
| 5 | 19ms | 20246kb | Incorect | 0 |
| 6 | 19ms | 19902kb | Incorect | 0 |
| 7 | 19ms | 19759kb | Incorect | 0 |
| 8 | 19ms | 19804kb | Incorect | 0 |
| 9 | 19ms | 20258kb | Incorect | 0 |
| 10 | 19ms | 20336kb | Incorect | 0 |
| 11 | 19ms | 20328kb | Incorect | 0 |
| 12 | 19ms | 19632kb | Incorect | 0 |
| 13 | 24ms | 20840kb | Incorect | 0 |
| 14 | 24ms | 20905kb | Incorect | 0 |
| 15 | 24ms | 20860kb | Incorect | 0 |
| 16 | 24ms | 20926kb | Incorect | 0 |
| 17 | 24ms | 20766kb | Incorect | 0 |
| 18 | 29ms | 20959kb | Incorect | 0 |
| 19 | 29ms | 20963kb | Incorect | 0 |
| 20 | 29ms | 20963kb | Incorect | 0 |
| Punctaj total | 0 |