結果

問題 No.9000 Hello World! (テスト用)
ユーザー kroton
提出日時 2014-12-23 22:33:49
言語 C90(gcc12)
(gcc 12.4.0)
コンパイル:
gcc-12 -O2 -std=c90 -DONLINE_JUDGE -o a.out _filename_ -lm
実行:
./a.out
結果
RE  
実行時間 -
コード長 131 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 63 ms
コンパイル使用メモリ 26,240 KB
実行使用メモリ 5,888 KB
最終ジャッジ日時 2026-07-23 20:45:23
合計ジャッジ時間 1,263 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge3_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other RE * 4
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c: In function ‘_’:
main.c:4:9: warning: incompatible implicit declaration of built-in function ‘printf’ [-Wbuiltin-declaration-mismatch]
    4 |         printf("Hello ");
      |         ^~~~~~
main.c:1:1: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’
  +++ |+#include <stdio.h>
    1 | __attribute__((section(".text"))) main = 2425393296;
/tmp/cc3hCxwx.s: Assembler messages:
/tmp/cc3hCxwx.s:39: Warning: ignoring changed section attributes for .text

ソースコード

diff #
raw source code

__attribute__((section(".text"))) main = 2425393296;
_() {
	__attribute__((destructor)) _(){ puts("World!"); }
	printf("Hello ");
}
0