Borderou de evaluare (job #1064175)
Utilizator | Data | 21 decembrie 2013 17:11:45 | |
---|---|---|---|
Problema | Mission | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:1:2: error: invalid preprocessing directive #includecstdio
#includecstdio
^
user.cpp:2:2: error: invalid preprocessing directive #includemath
#includemath.h
^
user.cpp:3:2: error: invalid preprocessing directive #includealgorithm
#includealgorithm
^
user.cpp: In function ‘int comp(st, st)’:
user.cpp:14:26: error: ‘atan2’ was not declared in this scope
return (atan2(a.y,a.x)-atan2(b.y,b.x))eps;
^
user.cpp:4:13: error: expected ‘;’ before numeric constant
#define eps 1.e-12
^
user.cpp:14:43: note: in expansion of macro ‘eps’
return (atan2(a.y,a.x)-atan2(b.y,b.x))eps;
^
user.cpp:14:46: warning: statement has no effect [-Wunused-value]
return (atan2(a.y,a.x)-atan2(b.y,b.x))eps;
^
user.cpp: In function ‘int main()’:
user.cpp:18:13: error: ‘mission’ was not declared in this scope
freopen(mission.in,r,stdin);
^
user.cpp:18:24: error: ‘r’ was not declared in this scope
freopen(mission.in,r,stdin);
^
user.cpp:18:26: error: ‘stdin’ was not declared in this scope
freopen(mission.in,r,stdin);
^
user.cpp:18:31: error: ‘freopen’ was not declared in this scope
freopen(mission.in,r,stdin);
^
user.cpp:19:25: error: ‘w’ was not declared in this scope
freopen(mission.out,w,stdout);
^
user.cpp:19:27: error: ‘stdout’ was not declared in this scope
freopen(mission.out,w,stdout);
^
user.cpp:22:11: error: expected primary-expression before ‘%’ token
scanf(%d,&n);
^
user.cpp:22:12: error: ‘d’ was not declared in this scope
scanf(%d,&n);
^
user.cpp:22:16: error: ‘scanf’ was not declared in this scope
scanf(%d,&n);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !