Borderou de evaluare (job #2830231)
Utilizator | Data | 9 ianuarie 2022 17:32:44 | |
---|---|---|---|
Problema | Sume 2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:38:5: error: 'll' was not declared in this scope
38 | ll k;
| ^~
main.cpp:40:17: error: 'k' was not declared in this scope
40 | cin >> n >> k;
| ^
main.cpp:49:7: error: expected ';' before 'st'
49 | ll st = 0, dr = 2 * mx, sol = -1;
| ^~~
| ;
main.cpp:50:12: error: 'st' was not declared in this scope; did you mean 'std'?
50 | while (st <= dr)
| ^~
| std
main.cpp:50:18: error: 'dr' was not declared in this scope
50 | while (st <= dr)
| ^~
main.cpp:52:11: error: expected ';' before 'med'
52 | ll med = (st + dr) / 2;
| ^~~~
| ;
main.cpp:53:27: error: 'med' was not declared in this scope
53 | int val = smaller(med);
| ^~~
main.cpp:56:13: error: 'sol' was not declared in this scope
56 | sol = med;
| ^~~
main.cpp:62:13: error: 'sol' was not declared in this scope
62 | cout << sol;
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !