JS-CSP2022-J 迷惑行为
不定期更新。
...
/*
* Check
* Overflow && bound
* freopen , NOT FEROPEN
* file name
* RP++
*/
检 查 人 + R P 人
#include<bits/stdc++.h>
using namespace std;
int n,k;
int main()
{
freopen("point.in","r",stdin);
freopen("point.out","w",stdout);
cin>>n>>k;
cout<<n+k;
return 0;
}
瞎 做 人
大 样 例 人
小 样 例 人
#include <bits/stdc++.h>
using namespace std;
int main(){
freopen("point.in","r",stdin);
freopen("point.out","w",stdout);
cout<<true;
return 0;
}
我 也 不 知 道 我 在 干 什 么
...
/*
Things you should check:
1. long long
2. Memory
3. Time
4. freopen
5. file name
*/
检 查 人 * 2
...
/* Attention:
- freopen?
- int or ll?
- cin or scanf or read()?
- TLE or MLE or CE?
- No solution then force/greedy!
CSP2022-J2 rp++!
-- Luogu @_JYqwq_ (uid 400269)
*/
检 查 人 * 3 + R P 人 * 2 + 本 人
...
work(string str,int op){
if(str.size()==5||op==u){
if(pd(str))
}
for(int i=1;i<=u;i++){
if(op<u){
string k=st.substr(a[op+1][1],a[op+1][2]);
work(k,op+1);
}
}
...
未 写 完 的 代 码
#include<bits/stdc++.h>
using namespace std;
int a[100001];
int main(){
freopen("decode.in","r",stdin);
freopen("decode.out","w",stdout);
...
cout<<"No";
...
return 0;
}
N o 人