Borderou de evaluare (job #2717571)
Utilizator | Data | 7 martie 2021 16:58:14 | |
---|---|---|---|
Problema | Dreptunghi2 | Status | done |
Runda | Arhiva ICPC | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:31:18: error: expected unqualified-id before '[' token
auto [x2, y2] = rotate45Degrees(x, y);
^
main.cpp:34:31: error: 'x2' was not declared in this scope
minX = maxX = x2;
^~
main.cpp:35:31: error: 'y2' was not declared in this scope
minY = maxY = y2;
^~
main.cpp:38:34: error: 'x2' was not declared in this scope
minX = min(minX, x2);
^~
main.cpp:40:34: error: 'y2' was not declared in this scope
minY = min(minY, y2);
^~
main.cpp:19:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("dreptunghi2.in", "r", stdin);
^
main.cpp:20:44: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("dreptunghi2.out", "w", stdout);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !