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

TOP

返回列表