返回列表 發帖
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3. int a,b,c;
  4. int main()
  5. {
  6.     cin >> a >> b >> c;
  7.     if(a>=60 && a<100)
  8.         cout << "1\n";
  9.     else
  10.         cout << "0\n";

  11.     printf("%.2f\n",(b+1)/10.0);

  12.     if(a>=c)
  13.         cout << a;
  14.     else
  15.         cout << c;
  16.     return 0;
  17. }
複製代碼
Vincent

TOP

返回列表