arrow_forward همه ارسال‌ها

جزئیات ارسال کد#968

verified
وضعیت داوری نهایی: پاسخ نادرست تست 17
terminal
زبان برنامه‌نویسی: Java
schedule
ارسال‌کننده و زمان:
khashayar moeinfar (۵ ماه پیش)
descriptionMain.java ۲۱ خط • ۵۰۶ بایت
1import java.util.*;
2
3public class Main {
4
5 public static void main(String[] args) {
6 Scanner sc = new Scanner(System.in);
7
8 long first = sc.nextLong();
9 long second = sc.nextLong();
10 second*=sc.nextInt();
11 first*=sc.nextInt();
12
13 if(first<second){
14 System.out.println("Second");
15 } else if (second<first) {
16 System.out.println("First");
17 }else {
18 System.out.println("Equal");
19 }
20 }
21}
کد ارسال‌شده برای داوری خودکار هاتکدز UTF-8