| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 328910 | 黄浙峰老师 | 【C3-7】恐龙园买玩具? | C++ | Wrong Answer | 33 | 10 MS | 252 KB | 257 | 2025-07-07 16:45:15 |
#include<iostream> using namespace std; int main(){ int n,x,y; cin>>n>>x>>y; for(int i=1;i<=(n-y)/x;i++){ for(int j=1;j<=(n-x)/y;j++){ if(i>=j&&(i+j)>=5&&i*x+j*y==n){ cout<<i<<" "<<j; } } } return 0; }