結果
| 問題 |
No.5016 Worst Mayor
|
| コンテスト | |
| ユーザー |
arbt
|
| 提出日時 | 2023-04-29 15:41:42 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 490 bytes |
| コンパイル時間 | 825 ms |
| コンパイル使用メモリ | 86,988 KB |
| 実行使用メモリ | 99,832 KB |
| スコア | 0 |
| 平均クエリ数 | 368.56 |
| 最終ジャッジ日時 | 2023-04-29 15:42:05 |
| 合計ジャッジ時間 | 17,672 ms |
|
ジャッジサーバーID (参考情報) |
judge15 / judge14 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 50 |
ソースコード
# Input
from math import sqrt
N, T = map(int, input().split())
A = [ 0 ] * N
B = [ 0 ] * N
C = [ 0 ] * N
D = [ 0 ] * N
for i in range(N):
A[i], B[i], C[i], D[i] = map(int, input().split())
# Interaction
y=0
x=0
for i in range(T):
CurrentMoney = 0
CurrentCorps = 0
CurrentMoney, CurrentCorps = map(int, input().split())
if(i<(400-36)):
print("2")
continue
if(CurrentMoney<10_000_000/sqrt(499-36)):
print("3")
print(f"1 {y+5} {x+5} {y+6} {x+5}")
y+=1
if(y==3):
y=0
x+=1
arbt