結果

問題 No.1121 Social Distancing in Cinema
ユーザー KeroruKeroru
提出日時 2020-07-22 23:43:23
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 236 ms / 2,000 ms
コード長 228 bytes
コンパイル時間 611 ms
コンパイル使用メモリ 87,048 KB
実行使用メモリ 152,492 KB
最終ジャッジ日時 2023-09-05 05:20:35
合計ジャッジ時間 11,217 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,376 KB
testcase_01 AC 74 ms
71,280 KB
testcase_02 AC 80 ms
71,192 KB
testcase_03 AC 75 ms
71,372 KB
testcase_04 AC 72 ms
71,452 KB
testcase_05 AC 73 ms
71,344 KB
testcase_06 AC 71 ms
71,132 KB
testcase_07 AC 72 ms
71,132 KB
testcase_08 AC 73 ms
71,232 KB
testcase_09 AC 76 ms
70,936 KB
testcase_10 AC 74 ms
71,256 KB
testcase_11 AC 72 ms
71,404 KB
testcase_12 AC 74 ms
71,252 KB
testcase_13 AC 80 ms
75,440 KB
testcase_14 AC 90 ms
76,640 KB
testcase_15 AC 87 ms
76,728 KB
testcase_16 AC 98 ms
85,700 KB
testcase_17 AC 148 ms
116,320 KB
testcase_18 AC 201 ms
140,100 KB
testcase_19 AC 211 ms
147,620 KB
testcase_20 AC 86 ms
76,440 KB
testcase_21 AC 84 ms
76,664 KB
testcase_22 AC 84 ms
76,748 KB
testcase_23 AC 89 ms
76,628 KB
testcase_24 AC 78 ms
75,460 KB
testcase_25 AC 117 ms
98,244 KB
testcase_26 AC 126 ms
107,616 KB
testcase_27 AC 81 ms
76,616 KB
testcase_28 AC 207 ms
145,192 KB
testcase_29 AC 124 ms
104,164 KB
testcase_30 AC 113 ms
98,184 KB
testcase_31 AC 213 ms
147,744 KB
testcase_32 AC 192 ms
131,596 KB
testcase_33 AC 124 ms
103,960 KB
testcase_34 AC 129 ms
104,152 KB
testcase_35 AC 201 ms
138,528 KB
testcase_36 AC 217 ms
152,464 KB
testcase_37 AC 113 ms
95,704 KB
testcase_38 AC 127 ms
107,952 KB
testcase_39 AC 205 ms
144,788 KB
testcase_40 AC 103 ms
90,900 KB
testcase_41 AC 87 ms
78,404 KB
testcase_42 AC 217 ms
152,492 KB
testcase_43 AC 236 ms
152,488 KB
testcase_44 AC 216 ms
152,244 KB
testcase_45 AC 219 ms
152,288 KB
testcase_46 AC 211 ms
146,760 KB
testcase_47 AC 73 ms
71,036 KB
testcase_48 AC 73 ms
71,448 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n,*t=map(int,open(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];k=y%18;z=k%9*10+(x+5*(k>8))%10;c[z]+=1;p[z]+=i+1,
t=c[0]
a=0
for i in range(d):
 if t<c[i]:t=c[i];a=i
print(t)
print(*p[a])
0