提交时间:2025-07-16 22:00:24
运行 ID: 333906
#include<bits/stdc++.h> using namespace std; int main(){ int i,j; for(i=1; i<=40/8; i++){ for(j=40/3; j>=1; j--){ if(8*i+3*j==40){ cout<<i<<' '<<j<<endl; } } } return 0; }