10 2023 档案

摘要:斐波那契数列(1) #include <iostream> using namespace std; int x(int n){ if(n<=2){ return 1; }else{ return x(n-1)+x(n-2); } } int main(){ int n; cin>>n; int a 阅读全文
posted @ 2023-10-29 09:48 王一行(小号) 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-10-29 09:27 王一行(小号) 阅读(4) 评论(0) 推荐(0) 编辑
摘要:#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 王一行(小号) 阅读(21) 评论(0) 推荐(0) 编辑
摘要:⦁ 信息学奥赛简介:NOIP:全国青少年信息学奥林匹克联赛是教育部认可的五大学科(数学,物理,化学,生物,信息学)竞赛之一,由1984中国计算机学会(CCF)创办,联赛分为普及组和提高组。复赛可以使用c,c++,Pascal语言,2022年后只能使用c++。CSP-J/S:2019年CCF推出CSP 阅读全文
posted @ 2023-10-15 09:46 王一行(小号) 阅读(27) 评论(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 王一行(小号) 阅读(5) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示