Borderou de evaluare (job #1587377)
Utilizator | Data | 1 februarie 2016 23:06:39 | |
---|---|---|---|
Problema | Filme | Status | done |
Runda | Arhiva Monthly | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:26: error: ‘sort’ was not declared in this scope
sort(v + 1, v + n + 1);
^
user.cpp:7:32: warning: unused variable ‘j’ [-Wunused-variable]
int d[10001], v[10001], i, j, n, m, min=999999, S=0, S1=0;
^
user.cpp:7:41: warning: unused variable ‘min’ [-Wunused-variable]
int d[10001], v[10001], i, j, n, m, min=999999, S=0, S1=0;
^
user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("filme.in", "r", stdin);
^
user.cpp:9:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("filme.out", "w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !