結果
問題 | No.9006 マルチバイト文字テスト(テスト用) |
ユーザー | yuki2006 |
提出日時 | 2015-03-25 02:41:49 |
言語 | Java21 (openjdk 21) |
結果 |
AC
|
実行時間 | 122 ms / 5,000 ms |
コード長 | 411 bytes |
コンパイル時間 | 4,058 ms |
コンパイル使用メモリ | 71,712 KB |
実行使用メモリ | 56,064 KB |
最終ジャッジ日時 | 2023-09-11 10:04:55 |
合計ジャッジ時間 | 4,055 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 122 ms
55,820 KB |
testcase_01 | AC | 120 ms
56,064 KB |
testcase_02 | AC | 120 ms
55,756 KB |
ソースコード
import java.util.Scanner; import java.io.PrintStream; public class Reverse { public static void main(String[] args) { Scanner scanner = new Scanner(System.in,"UTF8"); String S = scanner.nextLine(); StringBuilder sb = new StringBuilder(S); sb.reverse().toString(); try{ PrintStream out = new PrintStream(System.out, true, "UTF8"); out.println(sb); scanner.close(); }catch(Exception e){} } }