結果
| 問題 | No.9001 標準入出力の練習問題(テスト用) |
| ユーザー |
OGNM
|
| 提出日時 | 2016-11-11 21:10:48 |
| 言語 | Java (openjdk 25.0.2) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 533 bytes |
| 記録 | |
| コンパイル時間 | 1,917 ms |
| コンパイル使用メモリ | 82,668 KB |
| 実行使用メモリ | 43,308 KB |
| 最終ジャッジ日時 | 2026-05-19 20:50:36 |
| 合計ジャッジ時間 | 2,896 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 2 |
ソースコード
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// 標準入力から読み込む際に、Scannerオブジェクトを使う。
Scanner sc = new Scanner(System.in);
// int 1つ分を読み込む
int a = sc.nextInt();
// int 1つ分を読み込む
int b = sc.nextInt();
// String 1つ分を読み込む
String s = sc.next();
// 標準出力に書き出す。
System.out.println((a + b) + s);
}
}
OGNM