結果
| 問題 | No.932 解法破綻!高橋君 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-12-05 16:54:07 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 153 ms / 2,000 ms |
| コード長 | 298 bytes |
| 記録 | |
| コンパイル時間 | 347 ms |
| コンパイル使用メモリ | 20,952 KB |
| 実行使用メモリ | 15,480 KB |
| 最終ジャッジ日時 | 2026-03-28 22:27:10 |
| 合計ジャッジ時間 | 3,274 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)