Borderou de evaluare (job #1495347)
Utilizator | Data | 2 octombrie 2015 22:51:22 | |
---|---|---|---|
Problema | Dtcsu | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘long long int citeste()’:
user.cpp:13:21: error: ‘fin’ was not declared in this scope
char ch = fgetc(fin);
^
user.cpp: In function ‘int main()’:
user.cpp:50:24: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%lld\n", nr);
^
user.cpp:26:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dtcsu.in" ,"r", stdin );
^
user.cpp:27:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dtcsu.out","w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !