Borderou de evaluare (job #1757455)
Utilizator | Data | 15 septembrie 2016 08:21:59 | |
---|---|---|---|
Problema | Dreptunghiuri3 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:1: error: ‘ofstreasm’ does not name a type
ofstreasm g("dreptunghiuri3.out");
^
user.cpp: In function ‘int main()’:
user.cpp:8:8: error: ‘n’ was not declared in this scope
f>>n>>m>>k;
^
user.cpp:8:11: error: ‘m’ was not declared in this scope
f>>n>>m>>k;
^
user.cpp:8:14: error: ‘k’ was not declared in this scope
f>>n>>m>>k;
^
user.cpp:9:9: error: ‘i’ was not declared in this scope
for(i=1;i<=k;i++){
^
user.cpp:10:12: error: ‘v’ was not declared in this scope
f>>v[i].x1>>v[i].y1>>v[i].x2>>v[i].y2>>v[i].val;
^
user.cpp:11:9: error: ‘vx’ was not declared in this scope
vx[3*i-2]=v[i].x1;
^
user.cpp:14:9: error: ‘vy’ was not declared in this scope
vy[3*i-2]=v[i].y1;
^
user.cpp:19:10: error: ‘vx’ was not declared in this scope
sort(vx+1,vx+3*k+1);
^
user.cpp:19:23: error: ‘sort’ was not declared in this scope
sort(vx+1,vx+3*k+1);
^
user.cpp:20:10: error: ‘vy’ was not declared in this scope
sort(vy+1,vy+3*k+1);
^
user.cpp:21:5: error: ‘k0’ was not declared in this scope
k0=1;
^
user.cpp:22:5: error: ‘i’ was not declared in this scope
for(i=2;i<=3*k;i++)
^
user.cpp:28:9: error: ‘vizx’ was not declared in this scope
vizx[vx[i]]=k0
^
user.cpp:29:5: error: expected ‘;’ before ‘}’ token
}
^
user.cpp:31:1: error: ‘k1’ was not declared in this scope
k1=1;
^
user.cpp:32:5: error: ‘i’ was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !