結果
| 問題 |
No.2208 Linear Function
|
| コンテスト | |
| ユーザー |
katonyonko
|
| 提出日時 | 2023-02-10 21:21:30 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 53 ms / 2,000 ms |
| コード長 | 171 bytes |
| コンパイル時間 | 494 ms |
| コンパイル使用メモリ | 81,792 KB |
| 実行使用メモリ | 60,672 KB |
| 最終ジャッジ日時 | 2024-07-07 15:28:12 |
| 合計ジャッジ時間 | 940 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 3 |
ソースコード
import sys def input(): return sys.stdin.readline()[:-1] t=int(input()) for _ in range(t): L,R,A,B=map(int,input().split()) if A>0: print(A*R+B) else: print(A*L+B)
katonyonko