結果
| 問題 | No.3497 Sign up for traP |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-07-29 22:12:38 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 299 bytes |
| 記録 | |
| コンパイル時間 | 522 ms |
| コンパイル使用メモリ | 95,984 KB |
| 実行使用メモリ | 78,976 KB |
| 最終ジャッジ日時 | 2026-07-29 22:12:42 |
| 合計ジャッジ時間 | 2,984 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 15 WA * 3 |
ソースコード
S = input()
ALPHAs = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
alphas = 'abcdefghijklmnopqrstuvwxyz'
nums = '0123456789'
X = '_-'
ans = '200'
for s in S:
if not (s in ALPHAs or s in alphas or s in nums or s in X):
ans = '400'
if S[0] in X:
ans = '400'
if S[-1] in X:
ans = '400'
print(ans)