Borderou de evaluare (job #2314503)
Utilizator | Data | 8 ianuarie 2019 16:52:56 | |
---|---|---|---|
Problema | Election | 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:19:34: error: 'isdigit' was not declared in this scope
while (!isdigit(ch = nextch()));
^
main.cpp:21:33: error: 'isdigit' was not declared in this scope
while (isdigit(ch = nextch())) x = 10 * x + ch - '0';
^
main.cpp: In function 'int main()':
main.cpp:106:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d ", &n);
^
main.cpp:107:32: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(s + 1, MAXN + 5, fin);
^
main.cpp:109:26: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &q);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !