上一页 1 2 3 4 5 6 7 8 9 10 ··· 16 下一页
摘要: // / Universal Online Judge //#15. 【NOIP2014】生活大爆炸版石头剪刀布 #include <iostream> #include <vector> void once(int& aPoint,int& bPoint,int a,int b){ if(a==b 阅读全文
posted @ 2025-03-07 20:25 Kazuma_124 阅读(30) 评论(0) 推荐(0)
摘要: //codeforces 2057A #include <iostream> void solve(){ int n,m;std::cin>>n>>m; std::cout<< (n>m?n:m)+1<<std::endl; } int main(){ int t;std::cin>>t; whil 阅读全文
posted @ 2025-03-07 20:25 Kazuma_124 阅读(7) 评论(0) 推荐(0)
摘要: // URL: https://codeforces.com/contest/2053/problem/A #include <iostream> void solve(){ int n;std::cin>>n; bool flag = false; int a;std::cin>>a; for(i 阅读全文
posted @ 2025-03-07 20:24 Kazuma_124 阅读(27) 评论(0) 推荐(0)
摘要: // URL: https://codeforces.com/gym/2051/problem/D #include <iostream> #include <vector> #include <algorithm> void solve(){ long long ans = 0; int n;lo 阅读全文
posted @ 2025-03-07 20:24 Kazuma_124 阅读(19) 评论(0) 推荐(0)
摘要: //codeforces 2051C #include <iostream> #include <vector> void solve(){ int n,m,k;std::cin>>n>>m>>k; if(k==n){ for(int i = 0;i<m;++i){ std::cout<<'1'; 阅读全文
posted @ 2025-03-07 20:23 Kazuma_124 阅读(4) 评论(0) 推荐(0)
摘要: //luogu,P11654 「FAOI-R5」becoder #include <iostream> #include <vector> int main(){ int n,L,R;std::cin>>n>>L>>R; --L;--R; std::vector<int> time(n),memor 阅读全文
posted @ 2025-03-07 20:23 Kazuma_124 阅读(74) 评论(0) 推荐(0)
摘要: //luogu,P1603 斯诺登的密码 #include <iostream> #include <set> #include <string> #include <map> /* one two three four five six seven eight nine ten eleven tw 阅读全文
posted @ 2025-03-07 20:22 Kazuma_124 阅读(23) 评论(0) 推荐(0)
摘要: //luogu,P11679 [Algo Beat Contest 001 A] Animal Beheaded #include <string> #include <iostream> int main(){ int a;std::cin>>a; std::string str; std::ci 阅读全文
posted @ 2025-03-07 20:21 Kazuma_124 阅读(6) 评论(0) 推荐(0)
摘要: //luogu,P11681 [Algo Beat Contest 001 C] Creating a Queue #include <iostream> #include <set> int main(){ int N,M;std::cin>>N>>M; int countOfZero = 0; 阅读全文
posted @ 2025-03-07 20:21 Kazuma_124 阅读(4) 评论(0) 推荐(0)
摘要: //luogu,P11680 [Algo Beat Contest 001 B] Between Head and Tail #include <algorithm> #include <iostream> void solve(){ int l,r;std::cin>>l>>r; for(int 阅读全文
posted @ 2025-03-07 20:20 Kazuma_124 阅读(5) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 16 下一页