Borderou de evaluare (job #1851890)
Utilizator | Data | 20 ianuarie 2017 11:39:57 | |
---|---|---|---|
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:17:22: error: ‘n’ was not declared in this scope
fscanf(fin,"%d", &n);
^
user.cpp:20:25: 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:18:11: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, n, m, x, k;
^
user.cpp:18:17: warning: unused variable ‘m’ [-Wunused-variable]
int i, j, n, m, x, k;
^
user.cpp:18:20: warning: unused variable ‘x’ [-Wunused-variable]
int i, j, n, m, x, k;
^
user.cpp:18:23: warning: unused variable ‘k’ [-Wunused-variable]
int i, j, n, m, x, k;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !