結果
| 問題 |
No.8 N言っちゃダメゲーム
|
| コンテスト | |
| ユーザー |
👑 testestest
|
| 提出日時 | 2015-08-10 03:41:49 |
| 言語 | C90 (gcc 12.3.0) |
| 結果 |
RE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 73 bytes |
| コンパイル時間 | 318 ms |
| コンパイル使用メモリ | 34,176 KB |
| 実行使用メモリ | 7,324 KB |
| 最終ジャッジ日時 | 2025-03-31 19:07:46 |
| 合計ジャッジ時間 | 1,254 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 11 |
コンパイルメッセージ
main.c:1:1: warning: data definition has no type or storage class
1 | b;main(a){for(gets(&a);~scanf("%d%d",&a,&b);puts(--a%++b?"Win":"Lose"));}
| ^
main.c: In function 'main':
main.c:1:25: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
1 | b;main(a){for(gets(&a);~scanf("%d%d",&a,&b);puts(--a%++b?"Win":"Lose"));}
| ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
+++ |+#include <stdio.h>
1 | b;main(a){for(gets(&a);~scanf("%d%d",&a,&b);puts(--a%++b?"Win":"Lose"));}
/usr/bin/ld: /tmp/ccWvVOrh.o: in function `main':
main.c:(.text.startup+0x37): 警告: the `gets' function is dangerous and should not be used.
ソースコード
b;main(a){for(gets(&a);~scanf("%d%d",&a,&b);puts(--a%++b?"Win":"Lose"));}
testestest