题解 | #百钱买百鸡问题#
百钱买百鸡问题
https://www.nowcoder.com/practice/74c493f094304ea2bda37d0dc40dc85b
#include <iostream> using namespace std; int main() { int n; while (cin >> n) { for (int i = 0; i < 4; ++i) { cout<<4*i<<" "<<(25-7*i)<<" "<<(75+3*i)<<endl; } } }