結果
問題 | No.423 ハムスター語初級(数詞) |
ユーザー |
![]() |
提出日時 | 2016-09-22 22:28:44 |
言語 | C90 (gcc 12.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 99 bytes |
コンパイル時間 | 351 ms |
コンパイル使用メモリ | 19,712 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-17 13:37:51 |
合計ジャッジ時間 | 1,224 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 8 WA * 1 |
コンパイルメッセージ
main.c: In function ‘main’: main.c:6:9: warning: implicit declaration of function ‘gets’; did you mean ‘fgets’? [-Wimplicit-function-declaration] 6 | gets(buf); | ^~~~ | fgets /usr/bin/ld: /tmp/cctlXGhO.o: in function `main': main.c:(.text.startup+0x26): 警告: the `gets' function is dangerous and should not be used.
ソースコード
#include <stdio.h>int main(){char buf[1000];gets(buf);fputs(buf, stdout);puts("ham");}