Borderou de evaluare (job #1620767)
| Utilizator | Data | 29 februarie 2016 12:38:43 | |
|---|---|---|---|
| Problema | Flori | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp:4:8: error: expected constructor, destructor, or type conversion before ‘(’ token
freopen("flori.in","r", stdin);
^
user.cpp:5:8: error: expected constructor, destructor, or type conversion before ‘(’ token
freopen("flori.out","w", stdout);
^
user.cpp:38:11: error: ‘::main’ must return ‘int’
void main()
^
user.cpp: In function ‘int main()’:
user.cpp:41:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&k);
^
user.cpp:45:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&val);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
