結果
| 問題 |
No.538 N.G.S.
|
| コンテスト | |
| ユーザー |
YamaKasa
|
| 提出日時 | 2018-09-24 17:12:03 |
| 言語 | Java (openjdk 23) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 440 bytes |
| コンパイル時間 | 2,383 ms |
| コンパイル使用メモリ | 76,436 KB |
| 実行使用メモリ | 57,272 KB |
| 最終ジャッジ日時 | 2024-09-22 11:38:10 |
| 合計ジャッジ時間 | 12,668 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 4 |
| other | WA * 51 |
ソースコード
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int x0 = 0;
int y0 = 0;
System.out.println(x0 + " " + y0);
int d0 = scan.nextInt();
if(d0 == 0) {
System.exit(0);
}
System.out.println(x0 + " " + d0);
int d1 = scan.nextInt();
int x1 = d1 / 2;
int y1 = d0 - x1;
System.out.println(x1 + " " + y1);
scan.close();
System.exit(0);
}
}
YamaKasa