結果
問題 | No.632 穴埋め門松列 |
ユーザー |
👑 ![]() |
提出日時 | 2018-01-20 17:36:47 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 53 bytes |
コンパイル時間 | 1,064 ms |
コンパイル使用メモリ | 26,240 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-25 03:11:19 |
合計ジャッジ時間 | 762 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 6 |
コンパイルメッセージ
main.c:1:1: warning: return type defaults to 'int' [-Wimplicit-int] 1 | main(s){gets(&s);s>>=16;write(1,"14"-~s%2,(s&24)/9);} | ^~~~ main.c: In function 'main': main.c:1:1: warning: type of 's' defaults to 'int' [-Wimplicit-int] main.c:1:9: warning: implicit declaration of function 'gets' [-Wimplicit-function-declaration] 1 | main(s){gets(&s);s>>=16;write(1,"14"-~s%2,(s&24)/9);} | ^~~~ main.c:1:25: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration] 1 | main(s){gets(&s);s>>=16;write(1,"14"-~s%2,(s&24)/9);} | ^~~~~ /usr/bin/ld: /tmp/ccYfdhro.o: in function `main': main.c:(.text.startup+0x10): 警告: the `gets' function is dangerous and should not be used.
ソースコード
main(s){gets(&s);s>>=16;write(1,"14"-~s%2,(s&24)/9);}