Borderou de evaluare (job #1289249)
Utilizator | Data | 9 decembrie 2014 18:21:39 | |
---|---|---|---|
Problema | Spectacole | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void PreProcess()’:
user.cpp:50:31: error: ‘b’ was not declared in this scope
int p = v[i].fi - b - A[j];
^
user.cpp:47:13: warning: unused variable ‘ind’ [-Wunused-variable]
int ind = B[v[i].ind];
^
user.cpp: In function ‘int main()’:
user.cpp:59:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spectacole.in","r",stdin);
^
user.cpp:60:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spectacole.out","w",stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !