https://www.luogu.org/problemnew/show/P1426 题目说的是小鱼进入探测器一秒后就会有危险,所以不应该让小鱼先游,而是先检测探测器. #include<bits/stdc++.h> using namespace std; #define ll long long int s,x; int main(){ scanf("%d%d",&s,&x); double l=s-x; //cout<<l<<…
import java.util.Scanner; public class Main{ private static Scanner cin; public static int DISTENCE = 250; public static int DAYS_A_WEEK = 5; public static void main(String args[])throws Exception { cin = new Scanner(System.in); int x = cin.nextInt()…