結果
問題 | No.185 和風 |
ユーザー | harurun |
提出日時 | 2022-03-07 03:19:11 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 110 bytes |
コンパイル時間 | 161 ms |
コンパイル使用メモリ | 10,596 KB |
実行使用メモリ | 7,844 KB |
最終ジャッジ日時 | 2023-09-28 20:23:28 |
合計ジャッジ時間 | 1,066 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 20 ms
7,800 KB |
testcase_01 | AC | 27 ms
7,744 KB |
testcase_02 | AC | 27 ms
7,816 KB |
testcase_03 | AC | 27 ms
7,736 KB |
testcase_04 | AC | 27 ms
7,844 KB |
testcase_05 | WA | - |
testcase_06 | AC | 26 ms
7,760 KB |
コンパイルメッセージ
Main.py:1: SyntaxWarning: invalid decimal literal s=list(set(-eval(input().replace(" ","-"))for i in [0]*int(input())));print(-1if s[0]<0 or len(s)!=1else s[0]) Main.py:1: SyntaxWarning: invalid decimal literal s=list(set(-eval(input().replace(" ","-"))for i in [0]*int(input())));print(-1if s[0]<0 or len(s)!=1else s[0])
ソースコード
s=list(set(-eval(input().replace(" ","-"))for i in [0]*int(input())));print(-1if s[0]<0 or len(s)!=1else s[0])