結果
問題 | No.264 じゃんけん |
ユーザー | toriniku |
提出日時 | 2015-09-08 21:03:24 |
言語 | C90 (gcc 11.4.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 140 bytes |
コンパイル時間 | 356 ms |
コンパイル使用メモリ | 23,292 KB |
実行使用メモリ | 4,384 KB |
最終ジャッジ日時 | 2023-09-26 10:10:38 |
合計ジャッジ時間 | 1,135 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 1 ms
4,376 KB |
testcase_01 | AC | 1 ms
4,376 KB |
testcase_02 | AC | 0 ms
4,380 KB |
testcase_03 | AC | 1 ms
4,380 KB |
testcase_04 | AC | 1 ms
4,380 KB |
testcase_05 | AC | 1 ms
4,380 KB |
testcase_06 | WA | - |
testcase_07 | AC | 0 ms
4,380 KB |
testcase_08 | AC | 1 ms
4,380 KB |
コンパイルメッセージ
main.c:2:1: warning: return type defaults to ‘int’ [-Wimplicit-int] main(){ ^~~~
ソースコード
#include<stdio.h> main(){ int a,b; scanf("%d%d",&a,&b); if((b-a)%3==1)printf("Won"); else if((b-a)==0)printf("Drew"); else printf("Lost"); }