Borderou de evaluare (job #1630145)
Utilizator | Data | 4 martie 2016 22:41:38 | |
---|---|---|---|
Problema | Invazie | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:55:11: error: invalid initialization of reference of type ‘long long int&’ from expression of type ‘int’
read(T);
^
user.cpp:29:6: error: in passing argument 1 of ‘void read(long long int&)’
void read(long long &x) {
^
user.cpp:52:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("invazie.in" , "r" , stdin);
^
user.cpp:53:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("invazie.out" , "w" , stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !