Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
29766 | 闻航 | 【入门】百钱百鸡问题 | C++ | Output Limit Exceeded | 4 MS | 248 KB | 244 | 2023-11-03 15:19:54 |
#include <iostream> using namespace std; int main(){ int i,j,k; for(i=1;i<99;i++){ for(j=1;j<99;j++){ for(k=1;k<99;k++){ if(i*5+j*3+k==100) cout<<i<<" "<<j<<" "<<k<<endl; } } } }