結果
| 問題 |
No.791 うし数列
|
| コンテスト | |
| ユーザー |
Cyberdog-しばいぬ-
|
| 提出日時 | 2019-03-07 09:21:04 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 164 bytes |
| コンパイル時間 | 172 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,624 KB |
| 最終ジャッジ日時 | 2024-06-23 14:43:26 |
| 合計ジャッジ時間 | 1,314 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 14 WA * 1 |
ソースコード
a = list(input())
if a[0] != "1":
print(-1)
exit()
for i in range(len(a) - 1):
if a[i + 1] != "3":
print(-1)
exit()
print(len(a) - 1)
Cyberdog-しばいぬ-