Borderou de evaluare (job #2310514)
Utilizator | Data | 31 decembrie 2018 22:04:19 | |
---|---|---|---|
Problema | Easylca | 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:150:15: error: 'gets' was not declared in this scope
gets(s); n = strlen(s); nr = 1;
^
main.cpp:122:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("easylca.in", "r", stdin);
^
main.cpp:124:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("easylca.out", "w", stdout);
^
main.cpp:130:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !