【ACM】杭电OJ 1284(待更)

#include<iostream> using namespace std; int main(){ int n; while(cin>>n){ int ans=0; for(int i=0;i<=n/3;i++){ //对3的个数进行枚举 int temp=(n-3*i); //除了这i个3之外剩余的钱数 //temp/
相关文章
相关标签/搜索