
计蒜客
KLFTESPACE
这个作者很懒,什么都没留下…
展开
-
An Olympian Math Problem
其实这个答案就是N-1 当时n!%n =0没有反应过来。。。 #include<iostream> using namespace std; int main() { long long T; string s; cin >> T; while(T--) { cin >> s; i...原创 2018-09-01 14:35:43 · 227 阅读 · 0 评论 -
Supreme Number
//特别坑 371, 713, 731 都不是素数 /*#include <iostream> #include <math.h> using namespace std; int a[] = {1, 2, 3, 5, 7,11, 13, 17, 23, 31, 37, 53, 71, 73, 113, 131, 137, 173, 311, 317,...原创 2018-09-08 14:53:38 · 505 阅读 · 0 评论 -
Made In Heaven
//该题与poj2449 基本相同 #include <iostream> #include <cstdio> #include <vector> #include <queue> #include <cstring> #include <functional> using namespace std; cons...原创 2018-09-13 21:15:59 · 473 阅读 · 0 评论 -
Characters with Hash
#include <iostream> #include <string.h> #include <cmath> using namespace std; const int N=1000000; int main() { int t; char z; int n, num; string s; cin >&...原创 2018-09-19 20:59:45 · 261 阅读 · 0 评论 -
9.15
//mirror /* #include<iostream> #include <cstring> #include <cctype> using namespace std; int main() { string s = "jessie"; string t; int T; cin >> T; ...原创 2018-10-01 10:20:52 · 239 阅读 · 0 评论