結果
問題 | No.1765 While Shining |
ユーザー |
![]() |
提出日時 | 2021-11-30 19:03:16 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 209 bytes |
コンパイル時間 | 77 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 18,720 KB |
最終ジャッジ日時 | 2024-07-03 14:48:55 |
合計ジャッジ時間 | 18,033 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 21 TLE * 1 |
ソースコード
input() n=input()[:-1].replace(" ","") ans=0 for i in range(len(n)): a = n[i:] f=0 for j in a: if j != str(f%2): ans += 1 else: break f+=1 print(ans)