結果
| 問題 | No.138 化石のバージョン |
| コンテスト | |
| ユーザー |
mits58
|
| 提出日時 | 2016-06-05 17:47:54 |
| 言語 | Java (openjdk 26.0.2.1 + ACL) |
| 結果 |
RE
不安定
|
| 実行時間 | - |
| コード長 | 397 bytes |
| 記録 | |
| コンパイル時間 | 1,414 ms |
| コンパイル使用メモリ | 87,820 KB |
| 実行使用メモリ | 42,688 KB |
| 最終ジャッジ日時 | 2026-09-12 03:55:09 |
| 合計ジャッジ時間 | 5,307 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 33 |
ソースコード
import java.util.Scanner;
public class Main{
public static void main(String args[]){
Scanner sc=new Scanner(System.in);
while(sc.hasNext()){
String[] s1=(sc.next()).split(".");
String[] s2=(sc.next()).split(".");
int n=Integer.parseInt(s1[0]+s1[1]+s1[2]);
int o=Integer.parseInt(s2[0]+s2[1]+s2[2]);
if(n>o) System.out.println("YES");
else System.out.println("NO");
}
}
}
mits58