Pagini recente » Borderou de evaluare (job #2866126) | Borderou de evaluare (job #583325) | Borderou de evaluare (job #660060) | Borderou de evaluare (job #2614477) | Borderou de evaluare (job #2221307)
Borderou de evaluare (job #2221307)
Raport evaluator
Compilare:
user.cpp: In member function ‘double POINT::panta(const POINT&)’:
user.cpp:23:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(fabs(1.0 * x - other.x) < eps)
^~
user.cpp:25:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
return (1.0 * y - other.y) / (1.0*x - other.x);
^~~~~~
user.cpp: In function ‘int main()’:
user.cpp:33:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trapez.in", "r", stdin);
^
user.cpp:34:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trapez.out", "w", stdout);
^
user.cpp:37:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:39:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf", &x, &y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 880kb | Ok! | 10 |
| 2 | 116ms | 5868kb | Ok! | 10 |
| 3 | 0ms | 808kb | Ok! | 10 |
| 4 | 116ms | 5868kb | Ok! | 10 |
| 5 | 0ms | 936kb | Ok! | 10 |
| 6 | 0ms | 756kb | Ok! | 10 |
| 7 | 116ms | 5872kb | Ok! | 10 |
| 8 | 28ms | 1640kb | Ok! | 10 |
| 9 | 116ms | 5868kb | Ok! | 10 |
| 10 | 112ms | 5872kb | Ok! | 10 |
| Punctaj total | 100 |