Borderou de evaluare (job #1758124)
Utilizator | Data | 16 septembrie 2016 16:50:16 | |
---|---|---|---|
Problema | Arbori de intervale | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:14:23: error: ISO C++ forbids declaration of ‘arboreDeIntervale’ with no type [-fpermissive]
arboreDeIntervale()
^
user.cpp: In member function ‘int ArboreDeIntervale::arboreDeIntervale()’:
user.cpp:17:5: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:93:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbint.in", "r", stdin);
^
user.cpp:94:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbint.out", "w", stdout);
^
user.cpp:99:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:103:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &numere[i]);
^
user.cpp:112:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &tmp1, &tmp2, &tmp3);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !