結果

問題 No.2208 Linear Function
ユーザー KuronekoFS
提出日時 2023-03-02 14:23:27
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
RE  
実行時間 -
コード長 147 bytes
コンパイル時間 195 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-09-17 09:42:38
合計ジャッジ時間 717 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 1
other RE * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

T = int(input())
for i in range(T):
    L,R,A,B = (int(x) for x in input().sprit())
    if A>0:
        print(A*R+B)
    else:
        print(A*L+B)
0