摘要: #include<bits/stdc++.h> using namespace std; string read(){ string s,st; char c; int n; while(cin>>c){ if(c=='['){ cin>>n; st=read(); while(n--) s+=st 阅读全文
posted @ 2022-08-17 18:24 NOI2023 阅读(15) 评论(0) 推荐(0)
摘要: #include<iostream> #include<math.h> using namespace std; int x[20],n,k; bool isprime(int n){ int s=sqrt(double(n)); for(int i=2;i<=s;i++){ if(n%i==0)r 阅读全文
posted @ 2022-08-17 16:54 NOI2023 阅读(24) 评论(0) 推荐(0)
摘要: 当队列或数组存储的不是真值而是对应下标时应该记住 阅读全文
posted @ 2022-08-17 12:05 NOI2023 阅读(15) 评论(0) 推荐(0)