結果

問題 No.1121 Social Distancing in Cinema
ユーザー aaaaaaaaaa2230aaaaaaaaaa2230
提出日時 2020-07-23 13:12:28
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 768 ms / 2,000 ms
コード長 306 bytes
コンパイル時間 278 ms
コンパイル使用メモリ 10,580 KB
実行使用メモリ 19,220 KB
最終ジャッジ日時 2023-09-05 22:11:09
合計ジャッジ時間 15,969 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,956 KB
testcase_01 AC 15 ms
7,812 KB
testcase_02 AC 16 ms
7,916 KB
testcase_03 AC 16 ms
7,968 KB
testcase_04 AC 16 ms
7,808 KB
testcase_05 AC 15 ms
7,784 KB
testcase_06 AC 16 ms
7,992 KB
testcase_07 AC 16 ms
7,864 KB
testcase_08 AC 15 ms
7,916 KB
testcase_09 AC 16 ms
7,812 KB
testcase_10 AC 16 ms
7,860 KB
testcase_11 AC 17 ms
7,924 KB
testcase_12 AC 16 ms
7,804 KB
testcase_13 AC 18 ms
7,860 KB
testcase_14 AC 22 ms
7,808 KB
testcase_15 AC 38 ms
8,364 KB
testcase_16 AC 107 ms
9,540 KB
testcase_17 AC 361 ms
12,924 KB
testcase_18 AC 655 ms
17,496 KB
testcase_19 AC 768 ms
19,220 KB
testcase_20 AC 37 ms
8,360 KB
testcase_21 AC 33 ms
8,220 KB
testcase_22 AC 33 ms
8,224 KB
testcase_23 AC 22 ms
7,852 KB
testcase_24 AC 19 ms
7,852 KB
testcase_25 AC 214 ms
11,436 KB
testcase_26 AC 276 ms
12,280 KB
testcase_27 AC 23 ms
8,396 KB
testcase_28 AC 679 ms
17,748 KB
testcase_29 AC 261 ms
11,736 KB
testcase_30 AC 207 ms
11,060 KB
testcase_31 AC 764 ms
19,156 KB
testcase_32 AC 577 ms
16,576 KB
testcase_33 AC 259 ms
11,984 KB
testcase_34 AC 260 ms
11,764 KB
testcase_35 AC 614 ms
16,672 KB
testcase_36 AC 742 ms
18,764 KB
testcase_37 AC 194 ms
10,624 KB
testcase_38 AC 301 ms
12,560 KB
testcase_39 AC 664 ms
17,660 KB
testcase_40 AC 148 ms
10,232 KB
testcase_41 AC 52 ms
8,484 KB
testcase_42 AC 747 ms
18,568 KB
testcase_43 AC 740 ms
18,944 KB
testcase_44 AC 743 ms
18,760 KB
testcase_45 AC 733 ms
18,592 KB
testcase_46 AC 717 ms
18,176 KB
testcase_47 AC 16 ms
7,876 KB
testcase_48 AC 16 ms
7,860 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
count = [0]*90
l = [[] for i in range(90)]

for i in range(n):
    a,b = map(int,input().split())
    x = a%9
    y = b%10
    if a%18 >= 9:
        y = (y+5)%10
    count[x*10+y] += 1
    l[x*10+y].append(i+1)

print(max(count))
ind = count.index(max(count))
for i in l[ind]:
    print(i)
0