結果

問題 No.742 にゃんにゃんにゃん 猫の挨拶
ユーザー pluto77pluto77
提出日時 2018-10-06 12:02:13
言語 PyPy2
(7.3.15)
結果
TLE  
実行時間 -
コード長 170 bytes
コンパイル時間 1,967 ms
コンパイル使用メモリ 76,320 KB
実行使用メモリ 86,204 KB
最終ジャッジ日時 2024-04-20 18:04:32
合計ジャッジ時間 6,894 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
81,408 KB
testcase_01 AC 76 ms
75,564 KB
testcase_02 AC 74 ms
75,464 KB
testcase_03 AC 75 ms
75,552 KB
testcase_04 AC 81 ms
76,564 KB
testcase_05 AC 81 ms
76,928 KB
testcase_06 AC 83 ms
77,696 KB
testcase_07 AC 94 ms
78,112 KB
testcase_08 AC 105 ms
78,656 KB
testcase_09 AC 74 ms
75,648 KB
testcase_10 AC 73 ms
75,776 KB
testcase_11 TLE -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

#yuki742

n=int(raw_input())
m=[]
for i in xrange(n):
 m.append(int(raw_input()))
res=0
for i in xrange(n):
 for j in xrange(i+1,n):
  if m[i]>=m[j]:
   res+=1
print res
0