結果
| 問題 | No.9000 Hello World! (テスト用) |
| ユーザー |
|
| 提出日時 | 2014-12-23 22:33:49 |
| 言語 | C90 (gcc 12.4.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 131 bytes |
| 記録 | |
| コンパイル時間 | 161 ms |
| コンパイル使用メモリ | 26,568 KB |
| 最終ジャッジ日時 | 2026-02-23 18:04:09 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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/cckJ95Rj.s: Assembler messages:
/tmp/cckJ95Rj.s:39: Warning: ignoring changed section attributes for .text
ソースコード
__attribute__((section(".text"))) main = 2425393296;
_() {
__attribute__((destructor)) _(){ puts("World!"); }
printf("Hello ");
}