結果
問題 | No.264 じゃんけん |
ユーザー | amatakasap |
提出日時 | 2017-11-19 14:14:50 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
AC
|
実行時間 | 18 ms / 5,000 ms |
コード長 | 154 bytes |
コンパイル時間 | 451 ms |
コンパイル使用メモリ | 10,568 KB |
実行使用メモリ | 7,940 KB |
最終ジャッジ日時 | 2023-08-17 04:46:14 |
合計ジャッジ時間 | 1,038 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 18 ms
7,756 KB |
testcase_01 | AC | 18 ms
7,756 KB |
testcase_02 | AC | 16 ms
7,772 KB |
testcase_03 | AC | 16 ms
7,756 KB |
testcase_04 | AC | 16 ms
7,940 KB |
testcase_05 | AC | 16 ms
7,788 KB |
testcase_06 | AC | 16 ms
7,764 KB |
testcase_07 | AC | 16 ms
7,884 KB |
testcase_08 | AC | 16 ms
7,740 KB |
コンパイルメッセージ
Main.py:4: SyntaxWarning: "is" with a literal. Did you mean "=="? if ret is 0: Main.py:6: SyntaxWarning: "is" with a literal. Did you mean "=="? elif ret is 1: Main.py:8: SyntaxWarning: "is" with a literal. Did you mean "=="? elif ret is 2:
ソースコード
[a, b] = [int(x) for x in input().split(' ')] ret = (a - b + 3)%3 if ret is 0: print('Drew') elif ret is 1: print('Lost') elif ret is 2: print('Won')