# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
9109 | 2014-09-27T12:16:58 Z | roott76 | Wall construction (kriii2_WA) | C++ | 0 ms | 1100 KB |
#include <stdio.h> #include <stdlib.h> #include <math.h> int main() { double N, R, x[1001], y[1001], PI = 3.14159265359;; scanf("%lf %lf", &N, &R); for(int i=0; i<N; i++) scanf("%lf %lf", &x[i], &y[i]); double dist = sqrt(abs(x[0]-x[1]) + abs(y[0]-y[1])); printf("%.8lf\n", dist*2 + R*2*PI); }
# | 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 | - |