結果
| 問題 |
No.1159 Sashiming String
|
| ユーザー |
|
| 提出日時 | 2020-10-07 13:36:25 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 96 ms / 2,000 ms |
| コード長 | 121 bytes |
| コンパイル時間 | 121 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 11,008 KB |
| 最終ジャッジ日時 | 2024-07-20 03:24:52 |
| 合計ジャッジ時間 | 1,852 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 12 |
ソースコード
#yuki1159 t=input() s=0 res=0 for i in range(len(t)-2): if t[i]=='S': s+=1 elif t[i:i+3]=='ing': res+=s print(res)