結果
問題 |
No.914 Omiyage
|
ユーザー |
![]() |
提出日時 | 2020-05-11 23:30:18 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 186 bytes |
コンパイル時間 | 289 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,496 KB |
最終ジャッジ日時 | 2024-07-19 08:13:20 |
合計ジャッジ時間 | 1,567 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 3 |
other | RE * 18 |
ソースコード
import sys input=lambda: sys.stdin.readline().rstrip() n,m,k=map(int,input(),split()) for _ in range(n): k-=max([int(i) for i in input().split()]) if k<0: print(-1) else: print(k)