結果
問題 | No.264 じゃんけん |
ユーザー |
![]() |
提出日時 | 2017-04-10 18:33:27 |
言語 | C++11 (gcc 11.4.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 173 bytes |
コンパイル時間 | 137 ms |
コンパイル使用メモリ | 24,532 KB |
実行使用メモリ | 4,380 KB |
最終ジャッジ日時 | 2023-09-25 06:48:43 |
合計ジャッジ時間 | 818 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 2 ms
4,376 KB |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | AC | 1 ms
4,376 KB |
testcase_04 | AC | 1 ms
4,380 KB |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | AC | 1 ms
4,376 KB |
testcase_08 | AC | 1 ms
4,380 KB |
コンパイルメッセージ
main.cpp:3:10: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type] main(void){ ^
ソースコード
#include <stdio.h> main(void){ int n,k; scanf("%i %i",&n,&k); printf(n==0?k==0?"Drew":k==1?"Lost":"Win":n==1?k==0?"Lost":k==1?"Drew":"Win":k==0?"Win":k==1?"Lost":"Drew"); }