1084

#include<iostream>
using namespace std;
int main() {
 int ra;
 for (int ra = 1;ra <= 50;ra++) {
  if (4 * ra + 2 * (50 - ra) == 160)
   cout << 50 - ra << " " << ra;
 }
 return 0;
}

posted @ 2017-07-20 18:49  Isaacgy  阅读(290)  评论(0)    收藏  举报