結果

問題 No.1280 Beyond C
ユーザー jensenjensen
提出日時 2021-01-05 23:46:32
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
実行時間 -
コード長 237 bytes
コンパイル時間 101 ms
コンパイル使用メモリ 10,512 KB
実行使用メモリ 21,620 KB
最終ジャッジ日時 2023-08-06 05:38:40
合計ジャッジ時間 5,422 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
12,320 KB
testcase_01 AC 15 ms
7,756 KB
testcase_02 AC 15 ms
7,896 KB
testcase_03 AC 16 ms
7,728 KB
testcase_04 AC 15 ms
7,732 KB
testcase_05 AC 16 ms
7,808 KB
testcase_06 AC 16 ms
7,756 KB
testcase_07 AC 15 ms
7,788 KB
testcase_08 AC 15 ms
7,816 KB
testcase_09 AC 15 ms
7,780 KB
testcase_10 AC 15 ms
7,732 KB
testcase_11 AC 149 ms
7,732 KB
testcase_12 AC 16 ms
7,892 KB
testcase_13 AC 70 ms
7,672 KB
testcase_14 AC 112 ms
7,840 KB
testcase_15 TLE -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
testcase_20 -- -
testcase_21 -- -
testcase_22 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

[n,m,c]=list(map(int,input().split()))
a=list(map(int, input().split()))
b=list(map(int, input().split()))
count=0
s=n*m
for i in range(n):
    for j in range(m):
        x=a[i]*b[j]
        if(x>c):
            count+=1
print(count/s)  
0