摘要:
最短路 Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 80836 Accepted Submission(s): 34999 Problem D 阅读全文
摘要:
N皇后问题 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 29949 Accepted Submission(s): 13065 Problem 阅读全文
摘要:
Problem C. Connections Time limit: 3 secondsHard times are coming to Byteland. Quantum computing is becoming mainstream and Qubitland is going to occu 阅读全文
摘要:
Description In chess, the rook is a piece that can move any number of squares vertically or horizontally. In this problem we will consider small chess 阅读全文
摘要:
Sparse Graph Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 2612 Accepted Submission(s): 911 P 阅读全文
摘要:
#include using namespace std; int gcd(int a,int b) { int r; while(b>0) { r=a%b; a=b; b=r; } return a; } int main() { int a,b; while(scanf("%d%d",... 阅读全文