返回列表 發帖
  1. #include<bits/stdc++.h>;
  2. using namespace std;
  3. int main()
  4. {
  5.     int n;
  6.     cin >> n ;
  7.     if(n>100||n<0)
  8.         cout<<"error\n";
  9.      else
  10.         cout<<(n>60?n+10:n+5)<<endl;
  11.     return 0;
  12. }
複製代碼

TOP

返回列表