結果

問題 No.1735 C#
ユーザー HiiisanHiiisan
提出日時 2022-04-02 11:33:46
言語 TypeScript
(5.4.3)
結果
WA  
実行時間 -
コード長 191 bytes
コンパイル時間 6,456 ms
コンパイル使用メモリ 143,172 KB
実行使用メモリ 39,404 KB
最終ジャッジ日時 2024-05-01 06:54:42
合計ジャッジ時間 6,996 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

const solution = (s: string) => {
  const sharpList = ["A", "C", "D", "F", "G"];
  if (sharpList.includes(s)) {
    return s + "#";
  }
  if (s === "E") {
    return "F";
  }
  return "C";
};
0