Borderou de evaluare (job #2260525)
Utilizator | Data | 15 octombrie 2018 09:08:13 | |
---|---|---|---|
Problema | Next | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void citire(int*)':
main.cpp:10:11: error: 'gets' was not declared in this scope
gets(s);
^
main.cpp: In function 'int main()':
main.cpp:61:21: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%I64d",&b);
^
main.cpp:56:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("next.in","r",stdin);
^
main.cpp:57:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("next.out","w",stdout);
^
main.cpp:61:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d",&b);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !