# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
9048 | 2014-09-27T11:00:53 Z | joonas | Wall construction (kriii2_WA) | C++ | 0 ms | 1100 KB |
#include <cstdio> #include <cmath> const static double PI = acos(-1.); int main(){ int N, R; scanf("%d %d", &N, &R); double rad = 2*R*PI; int x1, y1, x2, y2; scanf("%d %d %d %d", &x1, &y1, &x2, &y2); double dist = sqrt((x1-x2)*(x1-x2) + (y1-y2)*(y1-y2)); printf("%lf", dist+rad); return 0; }
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 1100 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Halted | 0 ms | 0 KB | - |