結果

問題 No.1121 Social Distancing in Cinema
ユーザー KeroruKeroru
提出日時 2020-07-22 23:49:08
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 391 ms / 2,000 ms
コード長 220 bytes
コンパイル時間 283 ms
コンパイル使用メモリ 10,672 KB
実行使用メモリ 57,296 KB
最終ジャッジ日時 2023-09-05 05:32:40
合計ジャッジ時間 10,680 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,892 KB
testcase_01 AC 16 ms
7,960 KB
testcase_02 AC 16 ms
7,828 KB
testcase_03 AC 17 ms
7,808 KB
testcase_04 AC 16 ms
7,824 KB
testcase_05 AC 16 ms
7,888 KB
testcase_06 AC 16 ms
7,924 KB
testcase_07 AC 16 ms
7,880 KB
testcase_08 AC 16 ms
7,816 KB
testcase_09 AC 16 ms
7,856 KB
testcase_10 AC 16 ms
7,964 KB
testcase_11 AC 16 ms
7,896 KB
testcase_12 AC 17 ms
7,752 KB
testcase_13 AC 17 ms
7,828 KB
testcase_14 AC 18 ms
8,524 KB
testcase_15 AC 27 ms
9,268 KB
testcase_16 AC 58 ms
12,820 KB
testcase_17 AC 178 ms
28,280 KB
testcase_18 AC 328 ms
47,980 KB
testcase_19 AC 382 ms
57,164 KB
testcase_20 AC 26 ms
9,300 KB
testcase_21 AC 24 ms
9,112 KB
testcase_22 AC 24 ms
9,004 KB
testcase_23 AC 19 ms
8,472 KB
testcase_24 AC 18 ms
8,252 KB
testcase_25 AC 110 ms
20,832 KB
testcase_26 AC 140 ms
24,360 KB
testcase_27 AC 20 ms
8,812 KB
testcase_28 AC 331 ms
51,064 KB
testcase_29 AC 133 ms
23,240 KB
testcase_30 AC 104 ms
18,212 KB
testcase_31 AC 391 ms
57,296 KB
testcase_32 AC 286 ms
44,228 KB
testcase_33 AC 129 ms
22,728 KB
testcase_34 AC 134 ms
23,036 KB
testcase_35 AC 323 ms
45,532 KB
testcase_36 AC 380 ms
55,588 KB
testcase_37 AC 98 ms
19,284 KB
testcase_38 AC 151 ms
25,112 KB
testcase_39 AC 334 ms
50,352 KB
testcase_40 AC 82 ms
16,696 KB
testcase_41 AC 34 ms
10,448 KB
testcase_42 AC 370 ms
54,980 KB
testcase_43 AC 364 ms
54,960 KB
testcase_44 AC 367 ms
54,876 KB
testcase_45 AC 369 ms
54,876 KB
testcase_46 AC 362 ms
53,748 KB
testcase_47 AC 16 ms
7,824 KB
testcase_48 AC 15 ms
7,816 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n,*t=map(int,open(a:=0).read().split())
d=90
c=[0]*d
p=[[]for i in' '*d]
for i in range(n):x,y=t[i*2:-~i*2];z=y%9*10+(x+5*(y%18>8))%10;c[z]+=1;p[z]+=i+1,
t=0
for i in range(d):
 if t<c[i]:t=c[i];a=i
print(t)
print(*p[a])
0