結果
問題 |
No.2034 Anti Lexicography
|
ユーザー |
|
提出日時 | 2023-02-06 07:57:33 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 263 ms / 2,000 ms |
コード長 | 614 bytes |
コンパイル時間 | 1,955 ms |
コンパイル使用メモリ | 75,248 KB |
実行使用メモリ | 43,160 KB |
最終ジャッジ日時 | 2024-07-04 14:21:06 |
合計ジャッジ時間 | 6,672 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 15 |
ソースコード
import java.util.*; import java.io.*; import java.math.*; // import java.util.stream.Stream; class Main{ static BufferedReader buff = new BufferedReader(new InputStreamReader(System.in)); static StringTokenizer st; static PrintWriter output = new PrintWriter(System.out); static Scanner sc = new Scanner(System.in); public static void main(String[] args) throws IOException{ int n = sc.nextInt(); String s = sc.next(); for(int i=0;i<n;i++) { char now = s.charAt(i); output.print((char)('z'-(now-'a'))); } output.flush(); } }