Borderou de evaluare (job #1292650)
Utilizator | Data | 14 decembrie 2014 16:24:55 | |
---|---|---|---|
Problema | Arbori indexati binar | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:18:7: error: expected constructor, destructor, or type conversion before ‘(’ token
memset(Arb,0,sizeof(Arb));
^
user.cpp:21:8: error: expected constructor, destructor, or type conversion before ‘(’ token
freopen(in,"r",stdin);
^
user.cpp:22:8: error: expected constructor, destructor, or type conversion before ‘(’ token
freopen(out,"w",stdout);
^
user.cpp: In function ‘int main()’:
user.cpp:73:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &M);
^
user.cpp:76:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:82:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &K);
^
user.cpp:86:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &X, &Y);
^
user.cpp:92:28: 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 !