Borderou de evaluare (job #1409990)
Utilizator | Data | 30 martie 2015 20:01:19 | |
---|---|---|---|
Problema | Deque | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:7:8: error: expected constructor, destructor, or type conversion before ‘(’ token
freopen("deque.in", "r", stdin);
^
user.cpp:8:8: error: expected constructor, destructor, or type conversion before ‘(’ token
freopen("deque.out", "w", stdout);
^
user.cpp: In function ‘int main()’:
user.cpp:13:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int (*)[5000001]’ [-Wformat=]
scanf("%d",&v);
^
user.cpp:11:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld",&n,&k);
^
user.cpp:13:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !