結果
| 問題 |
No.1735 C#
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-04-02 11:33:46 |
| 言語 | TypeScript (5.7.2) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 191 bytes |
| コンパイル時間 | 8,249 ms |
| コンパイル使用メモリ | 227,932 KB |
| 実行使用メモリ | 39,796 KB |
| 最終ジャッジ日時 | 2024-12-31 16:47:07 |
| 合計ジャッジ時間 | 9,443 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | WA * 7 |
ソースコード
const solution = (s: string) => {
const sharpList = ["A", "C", "D", "F", "G"];
if (sharpList.includes(s)) {
return s + "#";
}
if (s === "E") {
return "F";
}
return "C";
};