結果
| 問題 |
No.2208 Linear Function
|
| コンテスト | |
| ユーザー |
はと
|
| 提出日時 | 2023-07-15 02:23:11 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 157 bytes |
| コンパイル時間 | 995 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,624 KB |
| 最終ジャッジ日時 | 2024-09-16 11:02:33 |
| 合計ジャッジ時間 | 886 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 |
| other | WA * 3 |
ソースコード
T = int(input())
for _ in range(T):
s = list(map(int, input().split()))
if s[2] >= 0:
print(s[0] * s[2] + s[3])
else:
print(s[1]*s[2] + s[3])
はと