Borderou de evaluare (job #1530610)
| Utilizator | Data | 21 noiembrie 2015 12:35:43 | |
|---|---|---|---|
| Problema | Factorial | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp:34:13: warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix]
freopen(""fact.out", "w", stdout);
^
user.cpp:34:23: warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix]
freopen(""fact.out", "w", stdout);
^
user.cpp:34:28: warning: missing terminating " character [enabled by default]
freopen(""fact.out", "w", stdout);
^
user.cpp:34:5: error: missing terminating " character
freopen(""fact.out", "w", stdout);
^
user.cpp: In function ‘void write()’:
user.cpp:34:15: error: expected ‘)’ before ‘fact’
freopen(""fact.out", "w", stdout);
^
user.cpp:36:12: error: ‘p’ was not declared in this scope
if (n0(p) == x)
^
user.cpp: In function ‘void read()’:
user.cpp:29:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("factl.in", "r", stdin);
^
user.cpp:30:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
