摘要:
好奇葩的数学题~ 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 ... 阅读全文
摘要:
直接模拟就好了,好像没有什么巧办法~ 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... 阅读全文
摘要:
算是一道比较简单的数学题了~ 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 ... 阅读全文