Borderou de evaluare (job #1413560)
Utilizator | Data | 1 aprilie 2015 22:31:04 | |
---|---|---|---|
Problema | Xspe | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:42:10: error: ‘NO_THIS_IS_PATRICK’ was not declared in this scope
for (i=w+NO_THIS_IS_PATRICK-1;i>=NO_THIS_IS_PATRICK+1;i--)
^
user.cpp:9:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("xspe.in","r",stdin);
^
user.cpp:10:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("xspe.out","w",stdout);
^
user.cpp:12:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d",&n);
^
user.cpp:15:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d",&v[i]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !