上一页 1 ··· 6 7 8 9 10 11 12 13 14 15 下一页
摘要: #include <bits/stdc++.h> using namespace std; char A[16] = {'1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'}; int s(string n){ int len = n 阅读全文
posted @ 2023-10-22 09:59 王一行(小号) 阅读(31) 评论(0) 推荐(0)
摘要: ⦁ 信息学奥赛简介:NOIP:全国青少年信息学奥林匹克联赛是教育部认可的五大学科(数学,物理,化学,生物,信息学)竞赛之一,由1984中国计算机学会(CCF)创办,联赛分为普及组和提高组。复赛可以使用c,c++,Pascal语言,2022年后只能使用c++。CSP-J/S:2019年CCF推出CSP 阅读全文
posted @ 2023-10-15 09:46 王一行(小号) 阅读(55) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; int main() { string a; cin>>a; int n = a.size(); if(a[0]=='1'){ for(int i = 1;i<n;i++){ if(a[i]=='0'){ a[i] = 阅读全文
posted @ 2023-10-05 09:44 王一行(小号) 阅读(11) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> using namespace std; //char a[16] = {'0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'}; char a[16] = {'0','1', 阅读全文
posted @ 2023-09-08 20:41 王一行(小号) 阅读(18) 评论(0) 推荐(0)
摘要: https://gesp.ccf.org.cn/101/1010/10092.html 阅读全文
posted @ 2023-09-03 09:23 王一行(小号) 阅读(15) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> using namespace std; int ROW = 16,COL = 16; bool a = true,player1[16][16],player2[16][16],a1; int Player[16][16] = {0}; void 阅读全文
posted @ 2023-08-10 20:35 王一行(小号) 阅读(18) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> using namespace std; int maxH = 16,maxL = 16,l = maxH/2,h = maxL/2; int main(){ srand(time(0)); int h1[3],l1[3]; for(int i = 阅读全文
posted @ 2023-08-08 20:33 王一行(小号) 阅读(46) 评论(0) 推荐(0)
摘要: /*#include <iostream> using namespace std; int a(int n){ if(n==1){ return 1; }else{ return n*a(n-1); } } int main(){ int n; cin>>n; cout<<a(n); return 阅读全文
posted @ 2023-08-03 20:33 王一行(小号) 阅读(23) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; int main() { int N,sum = 0; cin>>N; int a[N]; for(int i = 0;i<N;i++){ cin>>a[i]; } for(int i = 0;i<N;i++){ fo 阅读全文
posted @ 2023-07-26 20:19 王一行(小号) 阅读(48) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> using namespace std; int p1,p2,p3; string s,S; char a(char t){ if(p1==3){ return '*'; }else if(p1==1){ return tolower(t); }el 阅读全文
posted @ 2023-07-24 20:32 王一行(小号) 阅读(31) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 15 下一页