Borderou de evaluare (job #2460263)
Utilizator | Data | 23 septembrie 2019 11:01:14 | |
---|---|---|---|
Problema | Dist2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int Read()':
main.cpp:22:23: error: 'isdigit' was not declared in this scope
while (!isdigit(ch))
^
main.cpp:24:22: error: 'isdigit' was not declared in this scope
while (isdigit(ch)) {
^
main.cpp: In function 'char Advance()':
main.cpp:13:38: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fread(buffer, 1, SIZE, stdin);
^
main.cpp: In function 'int main()':
main.cpp:69:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("dist2.in","r",stdin);
^
main.cpp:70:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("dist2.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 !