摘要:
Problem G. Wiki with AlphaInput file: standard input Time limit: 1 secondOutput file: standard output Memory limit: 256 megabytes最近,在拉布拉多星球举办了一场举世瞩目的人 阅读全文
摘要:
1059 Prime Factors (25分) Given any positive integer N, you are supposed to find all of its prime factors, and write them in the format N = p1k1 阅读全文
摘要:
1013 数素数 (20分) 令 Pi 表示第 i 个素数。现任给两个正整数 M≤N≤104,请输出 PM 到 PN 的所有素数。 输入格式: 输入在一行中给出 M 和 N,其间以空格分隔。 输出格式: 输出从 PM 到 PN 的所有素数,每 10 个数字占 1 阅读全文
摘要:
1.分数的表示与分数的运算 1 #include <iostream> 2 #include <cstring> 3 #include <algorithm> 4 #include <vector> 5 6 using namespace std ; 7 8 struct Fraction{//分数 阅读全文