Borderou de evaluare (job #1919498)
Utilizator | Data | 9 martie 2017 19:48:10 | |
---|---|---|---|
Problema | Crescator 3 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:11:13: warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix]
freopen("crescator3.out,"w",stdout);
^
user.cpp:11:31: warning: missing terminating " character [enabled by default]
freopen("crescator3.out,"w",stdout);
^
user.cpp:11:5: error: missing terminating " character
freopen("crescator3.out,"w",stdout);
^
user.cpp: In function ‘int main()’:
user.cpp:11:30: error: expected ‘)’ before ‘w’
freopen("crescator3.out,"w",stdout);
^
user.cpp:10:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("crescator3.in","r",stdin);
^
user.cpp:17:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if (poz<n) scanf("%d", &x);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !