import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
int n=sc.nextInt();
if(n>=30)
System.out.printf("%d",n*50-n*2);
else System.out.printf("%d",n*50);
}
}
ZZULIOJ 1019: 公园门票 JAVA
最新推荐文章于 2024-09-07 21:56:33 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)