Borderou de evaluare (job #1851896)
Utilizator | Data | 20 ianuarie 2017 11:41:36 | |
---|---|---|---|
Problema | Heavy metal | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8:1: error: ‘cocert’ does not name a type
cocert v[100001];
^
user.cpp: In function ‘int main()’:
user.cpp:20:27: error: ‘v’ was not declared in this scope
fscanf(fin,"%d%d", &v[i].x, &v[i].y);
^
user.cpp:21:9: error: ‘v’ was not declared in this scope
sort(v+1, v+n+1, sorti);
^
user.cpp:15:11: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, n, m, x, k;
^
user.cpp:15:17: warning: unused variable ‘m’ [-Wunused-variable]
int i, j, n, m, x, k;
^
user.cpp:15:20: warning: unused variable ‘x’ [-Wunused-variable]
int i, j, n, m, x, k;
^
user.cpp:15:23: warning: unused variable ‘k’ [-Wunused-variable]
int i, j, n, m, x, k;
^
user.cpp:18:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d", &n);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !