結果

問題 No.3483 A Forbidden Fruit
コンテスト
ユーザー ルク
提出日時 2026-03-27 22:04:16
言語 PyPy3
(7.3.17)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
WA  
実行時間 -
コード長 506 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 224 ms
コンパイル使用メモリ 85,580 KB
実行使用メモリ 84,096 KB
最終ジャッジ日時 2026-03-27 22:04:28
合計ジャッジ時間 8,581 ms
ジャッジサーバーID
(参考情報)
judge1_1 / judge3_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 2 WA * 14
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

import heapq
from itertools import product
from itertools import permutations
import random
import math
import bisect
import sys
from collections import defaultdict
from itertools import combinations


inf = 1 << 60


def exit():
    sys.exit()


def LI():
    return list(map(int, input().split()))


def II():
    return int(input())


def SI():
    return input()


t = II()
for _ in range(t):
    n, m, k = LI()
    if n*m//2 >= k:
        print((n*m-1)/(n*m))
    else:
        print((n*m-1)/(n*m)/2)
0