Borderou de evaluare (job #1029319)
| Utilizator | Data | 15 noiembrie 2013 12:49:22 | |
|---|---|---|---|
| Problema | Triang | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp:20:24: error: exponent has no digits
#define errorPrecision 10e - 4
^
user.cpp:41:27: note: in expansion of macro ‘errorPrecision’
if ( abs ( A.x - B.x ) < errorPrecision )
^
user.cpp:20:24: error: exponent has no digits
#define errorPrecision 10e - 4
^
user.cpp:43:28: note: in expansion of macro ‘errorPrecision’
if ( abs ( A.y - B.y ) < errorPrecision)
^
user.cpp:20:24: error: exponent has no digits
#define errorPrecision 10e - 4
^
user.cpp:46:25: note: in expansion of macro ‘errorPrecision’
if ( ( A.y - B.y ) > errorPrecision )
^
user.cpp:20:24: error: exponent has no digits
#define errorPrecision 10e - 4
^
user.cpp:51:21: note: in expansion of macro ‘errorPrecision’
if ( (A.x - B.x) > errorPrecision )
^
user.cpp: In function ‘int main()’:
user.cpp:83:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘double*’ [-Wformat=]
fscanf(f, "%d", &p[i].x, &p[i].y);
^
user.cpp:83:35: warning: too many arguments for format [-Wformat-extra-args]
user.cpp:93:11: warning: unused variable ‘d1’ [-Wunused-variable]
double d1 = dist(p[i], p[j]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
