Borderou de evaluare (job #1676623)
Utilizator | Data | 6 aprilie 2016 01:39:42 | |
---|---|---|---|
Problema | Subsir crescator maximal | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:8: error: expected constructor, destructor, or type conversion before ‘(’ token
freopen("scmax.in", "r", stdin);
^
user.cpp:7:8: error: expected constructor, destructor, or type conversion before ‘(’ token
freopen("scmax.out", "w", stdout);
^
user.cpp: In function ‘int main()’:
user.cpp:12:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:14:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", a+i);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !