結果
| 問題 |
No.172 UFOを捕まえろ
|
| コンテスト | |
| ユーザー |
ルッツファン
|
| 提出日時 | 2015-11-28 01:49:37 |
| 言語 | Java (openjdk 23) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 705 bytes |
| コンパイル時間 | 4,016 ms |
| コンパイル使用メモリ | 74,380 KB |
| 実行使用メモリ | 50,716 KB |
| 最終ジャッジ日時 | 2024-09-14 01:43:18 |
| 合計ジャッジ時間 | 6,231 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 21 |
ソースコード
package yukicoder;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class yukicoder06 {
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 = tes.split(" ");
long x1 = Long.parseLong(tew[0]);
long x2 = Long.parseLong(tew[1]);
long x3 = Long.parseLong(tew[3]);
x1 = Math.abs(x1);
x2 = Math.abs(x2);
x3 = Math.abs(x3);
System.out.println((x1+x2)+x3+1);
}
}
ルッツファン