Borderou de evaluare (job #2327871)
Utilizator | Data | 25 ianuarie 2019 09:42:46 | |
---|---|---|---|
Problema | Petrica | 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:23:23: error: 'isdigit' was not declared in this scope
while (!isdigit(ch))
^
main.cpp:25:22: error: 'isdigit' was not declared in this scope
while (isdigit(ch)) {
^
main.cpp: In function 'char Advance()':
main.cpp:14: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:126:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("petrica.in","r",stdin);
^
main.cpp:127:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("petrica.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 !