上一页 1 ··· 7 8 9 10 11 12 13 下一页
摘要: // 1'45" #include <iostream> using namespace std; int main() { int n; cin >> n; int cnt1 = 0, cnt2 = 0; while(n --) { int tmp; cin >> tmp; if(tmp % 2 阅读全文
posted @ 2024-08-01 01:04 Frodnx 阅读(10) 评论(0) 推荐(0)
摘要: for i in range(3): print("I'm gonna WIN!") 阅读全文
posted @ 2024-07-31 23:40 Frodnx 阅读(17) 评论(0) 推荐(0)
摘要: 有前导零,末尾不能有空格,会卡格式 // 17'05" #include <bits/stdc++.h> using namespace std; int main() { map<string,bool> hash; int n; cin >> n; for(int i = 1; i <= n; 阅读全文
posted @ 2024-07-31 23:30 Frodnx 阅读(12) 评论(0) 推荐(0)
摘要: 还是注意读题,同输不喝酒 // 10'38" #include<bits/stdc++.h> using namespace std; int main() { int jia, yi; cin >> jia >> yi; int n; cin >> n; int j1 = 0, y1 = 0; f 阅读全文
posted @ 2024-07-31 22:40 Frodnx 阅读(10) 评论(0) 推荐(0)
摘要: // 5'19" #include <iostream> using namespace std; int main() { int a, b; char c; cin >> a >> c >> b; if(a < 12 || a == 12 && b == 0) { cout << "Only " 阅读全文
posted @ 2024-07-31 22:28 Frodnx 阅读(10) 评论(0) 推荐(0)
摘要: // 7'00" #include <bits/stdc++.h> using namespace std; int main() { string s; cin >> s; double d1 = 1, d2 = 1; if(s[0] == '-') d1 = 1.5; if((s[s.size( 阅读全文
posted @ 2024-07-31 21:41 Frodnx 阅读(30) 评论(0) 推荐(0)
摘要: 小错不断,简直灾难 // 14'52" #include <bits/stdc++.h> using namespace std; #define int long long int arr[17] = {7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2}; signed ma 阅读全文
posted @ 2024-07-31 21:32 Frodnx 阅读(12) 评论(0) 推荐(0)
摘要: 注意格式 // 2'25" #include <iostream> using namespace std; int main() { int n; char c; cin >> n >> c; for(int j = 1; j <= (n + 1)/ 2; ++ j) { for(int i = 阅读全文
posted @ 2024-07-31 20:59 Frodnx 阅读(11) 评论(0) 推荐(0)
摘要: print("This is a simple problem.") 阅读全文
posted @ 2024-07-31 20:56 Frodnx 阅读(6) 评论(0) 推荐(0)
摘要: 水题 // 1'43" #include <iostream> using namespace std; int main() { int n; cin >> n; int sum = 0; for(int i = 1; i <= n; ++ i) { int cnt = 1; for(int j 阅读全文
posted @ 2024-07-31 20:54 Frodnx 阅读(12) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 下一页