tozangezan's diary

勝手にソースコードをコピペして利用しないでください。

2014-11-15から1日間の記事一覧

AOJ 2526: Pie Chart is as easy as pie.

AOJ

通せば正義。幾何をする気が起きなくても通る。 #include<stdio.h> #include<math.h> #include<algorithm> using namespace std; int b[12]; double p[12]; double q[12]; double PI=acos(-1.0); int main(){ int x,y; int a; scanf("%d%d%d",&a,&x,&y); scanf("%d",&a); for(int i=0;i</algorithm></math.h></stdio.h>