結果

問題 No.423 ハムスター語初級(数詞)
ユーザー olphe
提出日時 2016-09-22 22:25:32
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 105 bytes
コンパイル時間 176 ms
コンパイル使用メモリ 21,120 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-17 13:35:36
合計ジャッジ時間 645 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 8 WA * 1
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:6:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    6 |         scanf("%s", ham);
      |         ~~~~~^~~~~~~~~~~

ソースコード

diff #

#include "stdio.h"

char ham[51];

int main() {
	scanf("%s", ham);
	printf("%sham\n", ham);

	return 0;
}
0