結果

問題 No.1735 C#
ユーザー ripityripity
提出日時 2021-11-12 21:49:21
言語 Java21
(openjdk 21)
結果
AC  
実行時間 119 ms / 2,000 ms
コード長 444 bytes
コンパイル時間 2,006 ms
コンパイル使用メモリ 72,740 KB
実行使用メモリ 56,156 KB
最終ジャッジ日時 2023-08-17 00:56:11
合計ジャッジ時間 3,836 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 116 ms
55,440 KB
testcase_01 AC 114 ms
56,156 KB
testcase_02 AC 118 ms
55,684 KB
testcase_03 AC 117 ms
56,064 KB
testcase_04 AC 117 ms
55,720 KB
testcase_05 AC 119 ms
55,972 KB
testcase_06 AC 114 ms
55,912 KB
testcase_07 AC 113 ms
55,864 KB
testcase_08 AC 115 ms
55,756 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    
    public static void main(String[] args) throws Exception {
        
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        String ans = "";
        if( s.equals("E") ) {
            ans = "F";
        }else if( s.equals("B") ) {
            ans = "C";
        }else {
            ans = s+"#";
        }
        
        System.out.println(ans);
        
    }
    
}
0