結果
問題 |
No.9000 Hello World! (テスト用)
|
ユーザー |
![]() |
提出日時 | 2019-07-01 23:32:58 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 46 ms / 5,000 ms |
コード長 | 1,604 bytes |
コンパイル時間 | 2,200 ms |
コンパイル使用メモリ | 78,476 KB |
実行使用メモリ | 50,472 KB |
最終ジャッジ日時 | 2024-07-18 08:58:35 |
合計ジャッジ時間 | 2,362 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 4 |
ソースコード
import java.io.*; import java.util.StringTokenizer; import static java.lang.Math.*; public class Main { public static void main(String[] args) { new Main().solve(); } private void solve() { try(InputReader in = new InputReader(System.in); PrintWriter out = new PrintWriter(System.out)) { String s = in.next(); String ans = "Hello World!"; out.println(ans); } catch(IOException e) { System.err.println(e); } } int atoi(String s) { return Integer.parseInt(s); } long atol(String s) { return Long.parseLong(s); } static class InputReader implements AutoCloseable { public BufferedReader br; public StringTokenizer st; public InputReader(InputStream stream) { br = new BufferedReader(new InputStreamReader(stream), 32768); st = null; } public String next() { if (st == null || !st.hasMoreTokens()) { try { st = new StringTokenizer(br.readLine()); } catch (IOException e) { throw new UncheckedIOException(e); } } return st.nextToken(); } public int nextInt() { return Integer.parseInt(next()); } public long nextLong() { return Long.parseLong(next()); } int[] mapInt(int len) { int[] ret = new int[len]; for (int i = 0; i < len; i++) ret[i] = Integer.parseInt(next()); return ret; } long[] mapLong(int len) { long[] ret = new long[len]; for (int i = 0; i < len; i++) ret[i] = Long.parseLong(next()); return ret; } @Override public void close() throws IOException { br.close(); } } }