title: Equations 数学 杭电1840 tags: [数学] 题目链接 Problem Description All the problems in this contest totally bored you. And every time you get bored you like playing with quadratic equations of the form aX2 + bX + c = 0. This time you are very curious to…
#include<iostream> #include<cstring> #include<cmath> #include<cstdio> using namespace std; int main() { int t; int n,k; int x; int i; int a[2005],hash[2005]; scanf("%d",&t); while(t--) { memset(a,0,sizeof(a)); memset(…
HDU 5724 Chess(国际象棋) Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Description 题目描述 Alice and Bob are playing a special chess game on an n × 20 chessboard. There are several chesses on the chessboard. They can mo…