Borderou de evaluare (job #2877881)
Utilizator | Data | 25 martie 2022 15:59:47 | |
---|---|---|---|
Problema | Infasuratoare convexa | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:6:10: error: no matching function for call to '<unnamed struct>::._anon_92(int)'
6 | }pct(1001);
| ^
main.cpp:4:7: note: candidate: '<unnamed struct>::<constructor>()'
4 | struct{
| ^
main.cpp:4:7: note: candidate expects 0 arguments, 1 provided
main.cpp:4:7: note: candidate: 'constexpr<unnamed struct>::<constructor>(const<unnamed struct>&)'
main.cpp:4:7: note: no known conversion for argument 1 from 'int' to 'const<unnamed struct>&'
main.cpp:4:7: note: candidate: 'constexpr<unnamed struct>::<constructor>(<unnamed struct>&&)'
main.cpp:4:7: note: no known conversion for argument 1 from 'int' to '<unnamed struct>&&'
main.cpp: In function 'int main()':
main.cpp:12:17: error: no match for 'operator[]' (operand types are '<unnamed struct>' and 'int')
12 | cin>>pct[i].x>>pct[x].y;
| ^
main.cpp:12:28: error: 'x' was not declared in this scope
12 | cin>>pct[i].x>>pct[x].y;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !