結果
| 問題 | No.218 経験値1.5倍 |
| コンテスト | |
| ユーザー |
koukonko
|
| 提出日時 | 2015-12-17 14:12:43 |
| 言語 | Java (openjdk 27 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 29 ms / 2,000 ms |
| + 472µs | |
| コード長 | 662 bytes |
| 記録 | |
| コンパイル時間 | 1,394 ms |
| コンパイル使用メモリ | 84,540 KB |
| 実行使用メモリ | 43,504 KB |
| 最終ジャッジ日時 | 2026-10-09 09:16:34 |
| 合計ジャッジ時間 | 3,761 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 31 |
ソースコード
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
BufferedReader read = new BufferedReader(new InputStreamReader(System.in));
try {
int a = Integer.parseInt(read.readLine());
int b = Integer.parseInt(read.readLine());
int c = Integer.parseInt(read.readLine());
int normal = a / b;
if (a % b > 0) {
++normal;
}
int campaign = a / c;
if (a % c > 0) {
++campaign;
}
if (((normal * 2) / 3) >= campaign) {
System.out.println("YES");
} else {
System.out.println("NO");
}
} catch (Exception e) {
e.printStackTrace();
}
}
}
koukonko