Borderou de evaluare (job #2535394)
Utilizator | Data | 31 ianuarie 2020 20:24:39 | |
---|---|---|---|
Problema | Hashuri | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void splay_erase(int)':
main.cpp:177:24: error: invalid conversion from 'node*' to 'int' [-fpermissive]
splay_query(left, inf);
^
main.cpp:177:24: error: too many arguments to function 'int splay_query(int)'
main.cpp:142:5: note: declared here
int splay_query(int x) {
^~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:186:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("hashuri.in","r",stdin);
^
main.cpp:187:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("hashuri.out","w",stdout);
^
main.cpp:189:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:191:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &op, &x);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !