結果

問題 No.46 はじめのn歩
ユーザー 山田悠二(Miozaki)山田悠二(Miozaki)
提出日時 2024-02-19 22:14:29
言語 C
(gcc 12.3.0)
結果
TLE  
実行時間 -
コード長 108 bytes
コンパイル時間 396 ms
コンパイル使用メモリ 26,112 KB
実行使用メモリ 14,760 KB
最終ジャッジ日時 2024-02-19 22:14:42
合計ジャッジ時間 12,557 ms
ジャッジサーバーID
(参考情報)
judge14 / judge16
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 TLE -
testcase_01 -- -
testcase_02 -- -
testcase_03 -- -
testcase_04 -- -
testcase_05 -- -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c: In function 'main':
main.c:9:9: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    9 |         printf("%d歩", (a/a));
      |         ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    1 | 
main.c:9:9: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    9 |         printf("%d歩", (a/a));
      |         ^~~~~~
main.c:9:9: note: include '<stdio.h>' or provide a declaration of 'printf'

ソースコード

diff #

int main(void){
	int a, b;
	a = 2;
	b = 5;
	for (a=2;a<=5;a+a){
		
	}
	printf("%d歩", (a/a));
	return 0;
}
0