提交时间:2025-05-09 20:33:53
运行 ID: 321126
#include<bits/stdc++.h> using namespace std; int main(){ for(int i=1;i<=40/8;i++){ for(int j=1;j<=40/3;j++){ if(i*8+j*3==40){ cout<<i<<" "<<j<<endl; } } } return 0; }