結果
| 問題 |
No.138 化石のバージョン
|
| コンテスト | |
| ユーザー |
atkrym
|
| 提出日時 | 2016-10-25 01:04:11 |
| 言語 | Java (openjdk 23) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 491 bytes |
| コンパイル時間 | 1,939 ms |
| コンパイル使用メモリ | 74,976 KB |
| 実行使用メモリ | 54,208 KB |
| 最終ジャッジ日時 | 2024-11-24 03:29:21 |
| 合計ジャッジ時間 | 7,585 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 27 WA * 6 |
ソースコード
import java.util.*;
public class Main {
private static Scanner sc = new Scanner(System.in);
public static void main(String[] args) throws Exception {
String s = sc.next();
String c = sc.next();
int is = Integer.valueOf(s.replaceAll("\\.", ""));
int ic = Integer.valueOf(c.replaceAll("\\.", ""));
if (ic <= is) {
System.out.println("YES");
} else {
System.out.println("NO");
}
}
}
atkrym