eazy
2025-10-07 20:03:48
发布于:浙江
1阅读
0回复
0点赞
#include<bits/stdc++.h>
using namespace std;
//我嘞个骚刚 !!! 这么简单【笑脸】
int n;
int main() {
cin >> n;
if(n%30 || n%31){
cout <<n/3*2;
} else if(n%3==2){
cout << n/3*2+1;
}
return 0;
}
这里空空如也
2025-10-07 20:03:48
发布于:浙江
#include<bits/stdc++.h>
using namespace std;
//我嘞个骚刚 !!! 这么简单【笑脸】
int n;
int main() {
cin >> n;
if(n%30 || n%31){
cout <<n/3*2;
} else if(n%3==2){
cout << n/3*2+1;
}
return 0;
}
这里空空如也
提交答案之后,这里将显示提交结果~
有帮助,赞一个