Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
161585 王垚植 【基础题】车棚 C++ Accepted 1 MS 260 KB 202 2026-10-06 11:31:28

Tests(1/1):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a,b; for(a=1;a<=65;a++){ for(b=65-a;b<=65;b++){ if(a+b==65 && 2*a+3*b==150){ cout<<a<<" "<<b; } } } return 0; }