結果

問題 No.3012 Catch C code
ユーザー cielciel
提出日時 2015-08-17 17:17:58
言語 Text
(cat 8.3)
結果
WA  
実行時間 -
コード長 244 bytes
コンパイル時間 46 ms
コンパイル使用メモリ 5,216 KB
実行使用メモリ 4,384 KB
最終ジャッジ日時 2023-09-25 12:35:28
合計ジャッジ時間 724 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

//-ldl -Wl,--export-dynamic
#include <dlfcn.h>
#include <stdio.h> //NULL
typedef void (*Tvoid)();
Tvoid pcatch;
int main(){
	void *h=dlopen(NULL,RTLD_NOW);
	printf("%x\n",h);
	pcatch=(Tvoid)dlsym(h,"catch");
	printf("%x\n",pcatch);
	pcatch();
}
0