Borderou de evaluare (job #2512684)
Utilizator | Data | 21 decembrie 2019 13:06:37 | |
---|---|---|---|
Problema | Euclid | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:5:13: error: variable 'std::ifstream in' has initializer but incomplete type
ifstream in ("euclid.in");
^
main.cpp:6:13: error: variable 'std::ofstream out' has initializer but incomplete type
ofstream out("euclid.out");
^
main.cpp: In function 'int main()':
main.cpp:55:22: error: expected identifier before numeric constant
get([0][0][i][j]);
^
main.cpp: In lambda function:
main.cpp:55:24: error: expected '{' before '[' token
get([0][0][i][j]);
^
main.cpp: In function 'int main()':
main.cpp:55:24: error: no match for 'operator[]' (operand types are 'main()::<lambda()>' and 'int')
main.cpp: In function 'char next_char()':
main.cpp:18:32: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fread(buff,1,val,stdin);
^
main.cpp: In function 'int main()':
main.cpp:44:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("euclid.in","r",stdin);
^
main.cpp:45:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("euclid.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 !