結果
| 問題 | No.932 解法破綻!高橋君 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-12-05 16:54:07 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 113 ms / 2,000 ms |
| コード長 | 298 bytes |
| 記録 | |
| コンパイル時間 | 81 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 11,520 KB |
| 最終ジャッジ日時 | 2024-07-07 07:53:35 |
| 合計ジャッジ時間 | 1,328 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 20 |
ソースコード
import sys
S = input()
S += ','
F = 'Failed...'
D = 'Done!'
for i in range(len(S)):
if i % 3 == 0 and S[i] != 'A':
print(F)
exit()
elif i % 3 == 1 and S[i] != 'C':
print(F)
exit()
elif i % 3 == 2 and S[i] != ',':
print(F)
exit()
print(D)