結果
問題 | No.1687 What the Heck? |
ユーザー | iroharisan |
提出日時 | 2021-09-25 00:15:09 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 85 bytes |
コンパイル時間 | 2,452 ms |
コンパイル使用メモリ | 86,724 KB |
実行使用メモリ | 106,180 KB |
最終ジャッジ日時 | 2023-09-18 22:32:10 |
合計ジャッジ時間 | 3,919 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 72 ms
70,988 KB |
testcase_01 | WA | - |
testcase_02 | AC | 74 ms
71,168 KB |
testcase_03 | WA | - |
testcase_04 | AC | 72 ms
71,056 KB |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | AC | 89 ms
84,428 KB |
testcase_10 | AC | 83 ms
80,944 KB |
testcase_11 | AC | 82 ms
81,004 KB |
testcase_12 | AC | 115 ms
106,120 KB |
testcase_13 | AC | 114 ms
106,112 KB |
testcase_14 | WA | - |
testcase_15 | WA | - |
testcase_16 | WA | - |
testcase_17 | WA | - |
testcase_18 | WA | - |
testcase_19 | WA | - |
ソースコード
N=int(input()) P=list(map(int,input().split())) print((N*(N+1))//2-(P.index(N))*2-2)