結果
| 問題 |
No.128 お年玉(1)
|
| コンテスト | |
| ユーザー |
ルッツファン
|
| 提出日時 | 2015-11-28 00:54:00 |
| 言語 | Java (openjdk 23) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 761 bytes |
| コンパイル時間 | 3,029 ms |
| コンパイル使用メモリ | 74,480 KB |
| 実行使用メモリ | 50,640 KB |
| 最終ジャッジ日時 | 2024-10-01 10:09:00 |
| 合計ジャッジ時間 | 5,171 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 2 |
| other | AC * 2 WA * 3 RE * 16 |
ソースコード
package yukicoder;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class yukicoder05 {
public static void main(String[] args){
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String tes = null;
try {
tes = br.readLine();
} catch (IOException e) {
// TODO 自動生成された catch ブロック
e.printStackTrace();
}
String[] tew = null;
tew = tes.split("\\.");
int x = Integer.parseInt(tes);
try {
tes = br.readLine();
} catch (IOException e) {
// TODO 自動生成された catch ブロック
e.printStackTrace();
}
int x2 = Integer.parseInt(tes);
System.out.println(x/x2);
}
}
ルッツファン