Borderou de evaluare (job #1584705)
Utilizator | Data | 30 ianuarie 2016 13:35:59 | |
---|---|---|---|
Problema | Iopds | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:1: error: expected ‘,’ or ‘;’ before ‘using’
using namespace std;
^
user.cpp: In function ‘int main()’:
user.cpp:11:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "iopds.in" , "r", stdin );
^
user.cpp:12:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "iopds.out", "w", stdout );
^
user.cpp:14:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%lf %lf %lf %d", &X, &Y, &Z, &N );
^
user.cpp:18:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%lf", &X );
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !