摘要: 好奇葩的数学题~ 1 //sicily 1193 Up the Stairs 2 #include 3 4 using namespace std; 5 6 int a[1005]; 7 8 int main() 9 {10 int t;11 cin >> t;12 ... 阅读全文
posted @ 2015-06-11 20:09 dominjune 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 直接模拟就好了,好像没有什么巧办法~ 1 #include 2 3 using namespace std; 4 5 struct point { 6 int x; 7 int y; 8 }q[105], k[105]; 9 10 int ans; 11 c... 阅读全文
posted @ 2015-06-11 18:54 dominjune 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 算是一道比较简单的数学题了~ 1 #include 2 3 using namespace std; 4 5 double a[1005]; 6 7 int main() 8 { 9 int n, t;10 scanf("%d", &t);11 int k=1;12 ... 阅读全文
posted @ 2015-06-11 18:52 dominjune 阅读(172) 评论(0) 推荐(0) 编辑