Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
64710 | laichihao | 【基础题】买鸡(例题) | C++ | No Test Data | 0 MS | 0 KB | 236 | 2025-04-25 15:35:31 |
#include<bits/stdc++.h> using namespace std; int main(){ for(int i=0;i<90;i++){ for(int j=0;j<90;j++){ for(int k=0;k<90;k++){ if(75*i+50*j+k==2500&&i+j+k==90) cout<<i<<" "<<j<<" "<<k<<endl;}}} return 0; }