結果
問題 |
No.2194 兄弟の掛け引き
|
ユーザー |
👑 |
提出日時 | 2023-05-21 11:57:19 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 27 ms / 1,000 ms |
コード長 | 113 bytes |
コンパイル時間 | 105 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-12-21 19:11:03 |
合計ジャッジ時間 | 1,307 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 14 |
コンパイルメッセージ
Main.py:4: SyntaxWarning: invalid decimal literal if B<C or C%A:P(-1if D%A else D//A)
ソースコード
P=print A,B,C=map(int,input().split()) D=C+B if B<C or C%A:P(-1if D%A else D//A) else: P(C//A) if D%A<1:P(D//A)