結果
問題 | No.138 化石のバージョン |
ユーザー | 37zigen |
提出日時 | 2016-03-11 18:13:55 |
言語 | Java21 (openjdk 21) |
結果 |
WA
|
実行時間 | - |
コード長 | 622 bytes |
コンパイル時間 | 2,358 ms |
コンパイル使用メモリ | 76,676 KB |
実行使用メモリ | 58,576 KB |
最終ジャッジ日時 | 2023-10-25 05:26:54 |
合計ジャッジ時間 | 12,002 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 173 ms
58,368 KB |
testcase_01 | AC | 203 ms
58,320 KB |
testcase_02 | WA | - |
testcase_03 | AC | 195 ms
58,576 KB |
testcase_04 | AC | 202 ms
58,336 KB |
testcase_05 | AC | 204 ms
58,272 KB |
testcase_06 | AC | 199 ms
58,268 KB |
testcase_07 | AC | 204 ms
58,264 KB |
testcase_08 | WA | - |
testcase_09 | AC | 192 ms
58,324 KB |
testcase_10 | AC | 195 ms
58,320 KB |
testcase_11 | AC | 203 ms
58,328 KB |
testcase_12 | AC | 198 ms
58,268 KB |
testcase_13 | WA | - |
testcase_14 | AC | 189 ms
58,328 KB |
testcase_15 | WA | - |
testcase_16 | AC | 194 ms
58,260 KB |
testcase_17 | AC | 195 ms
58,268 KB |
testcase_18 | AC | 192 ms
58,456 KB |
testcase_19 | AC | 169 ms
58,432 KB |
testcase_20 | AC | 169 ms
58,368 KB |
testcase_21 | AC | 173 ms
58,432 KB |
testcase_22 | AC | 167 ms
58,436 KB |
testcase_23 | AC | 167 ms
58,452 KB |
testcase_24 | WA | - |
testcase_25 | WA | - |
testcase_26 | AC | 169 ms
58,536 KB |
testcase_27 | AC | 165 ms
58,332 KB |
testcase_28 | AC | 166 ms
58,484 KB |
testcase_29 | AC | 172 ms
58,432 KB |
testcase_30 | AC | 174 ms
56,380 KB |
testcase_31 | AC | 169 ms
58,432 KB |
testcase_32 | AC | 166 ms
58,456 KB |
testcase_33 | AC | 164 ms
58,416 KB |
testcase_34 | AC | 167 ms
58,392 KB |
testcase_35 | AC | 165 ms
58,424 KB |
ソースコード
import java.util.Date; import java.util.Scanner; public class Main{ public static void main(String[] args){ long exec_time=new Date().getTime(); Scanner sc=new Scanner(System.in); String[] str1=sc.nextLine().split("\\."); String[] str2=sc.nextLine().split("\\."); String Str1=""; String Str2=""; for(int i=0;i<str1.length;i++){ Str1=str1[0]+str1[1]+str1[2]; Str2=str2[0]+str2[1]+str2[2]; } int a=Integer.parseInt(Str1); int b=Integer.parseInt(Str2); if(a>=b){ System.out.println("YES"); }else{ System.out.println("NO"); } System.err.println(new Date().getTime()-exec_time); } }