xiaowu5933's blog

By xiaowu5933, history, 22 months ago, In English

Hello everyone, can anybody help me with this problem : https://vjudge.net/problem/HDU-1115

After searching on gg in the afternoon, I found around to solve this: https://math.stackexchange.com/questions/90463/how-can-i-calculate-the-centroid-of-polygon.

But after submitting, I don't know why I get the wrong answer, I think I can have some errors with my Complex struct, but I'm not sure, please help me. Thank you!

This is my code : https://codeforces.me/contest/119/submission/189358165

Sorry my English is not good.

Full text and comments »

  • Vote: I like it
  • +9
  • Vote: I do not like it