Borderou de evaluare (job #1310615)
Utilizator | Data | 7 ianuarie 2015 00:02:32 | |
---|---|---|---|
Problema | Qtri | Status | done |
Runda | Teme Pregatire ACM Unibuc 2014, Anul I | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:15:1: error: ‘ofstream’ does not name a type
ofstream fout(oname);
^
user.cpp: In function ‘void solve()’:
user.cpp:47:9: error: ‘fout’ was not declared in this scope
fout<<"DA\n";
^
user.cpp:49:9: error: ‘fout’ was not declared in this scope
fout<<"NU\n";
^
user.cpp: In function ‘int main()’:
user.cpp:55:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(iname, "r", stdin);
^
user.cpp:56:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(oname, "w", stdout);
^
user.cpp:57:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q);
^
user.cpp:60:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf %lf", &xa, &ya);
^
user.cpp:61:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf %lf", &xb, &yb);
^
user.cpp:62:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf %lf", &xc, &yc);
^
user.cpp:63:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf %lf", &xd, &yd);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !