結果
| 問題 |
No.805 UMG
|
| コンテスト | |
| ユーザー |
iad_2889
|
| 提出日時 | 2019-05-09 06:01:06 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 233 bytes |
| コンパイル時間 | 237 ms |
| コンパイル使用メモリ | 82,404 KB |
| 実行使用メモリ | 67,700 KB |
| 最終ジャッジ日時 | 2024-11-18 13:48:57 |
| 合計ジャッジ時間 | 2,546 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 25 |
ソースコード
N = int(input()) S = input() candidates = ((i,j,k) for i in range(N - 2) for j in ran( 1) for k in range(N) if i < j < k and j - i == k-jandS [i] == "U" and S[j] == "M" and S[k] == "G") count = len(list(candidates)) print(count)
iad_2889