結果
| 問題 | No.3497 Sign up for traP |
| コンテスト | |
| ユーザー |
YuukunA
|
| 提出日時 | 2026-04-18 11:07:56 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 266 bytes |
| 記録 | |
| コンパイル時間 | 711 ms |
| コンパイル使用メモリ | 20,744 KB |
| 実行使用メモリ | 20,700 KB |
| 最終ジャッジ日時 | 2026-04-18 11:08:09 |
| 合計ジャッジ時間 | 13,238 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 2 |
| other | RE * 18 |
ソースコード
import reduce def solve(): import sys s = sys.stdin.read().strip() if not (1 <= len(s) <= 32): print(400) return if not re.fullmatch(r'[A-Za-z0-9_-]+', s): print(400) return if s[0] in '_-' or s[-1] in '_-': print(400) return print(200) sovle()
YuukunA