結果
| 問題 | No.3497 Sign up for traP |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-07-29 22:13:26 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 35 ms / 2,000 ms |
| + 429µs | |
| コード長 | 342 bytes |
| 記録 | |
| コンパイル時間 | 89 ms |
| コンパイル使用メモリ | 64,864 KB |
| 実行使用メモリ | 53,764 KB |
| 最終ジャッジ日時 | 2026-10-15 08:06:23 |
| 合計ジャッジ時間 | 2,481 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 19 |
ソースコード
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 not 1 <= len(S) <= 32:
ans = '400'
if S[0] in X:
ans = '400'
if S[-1] in X:
ans = '400'
print(ans)