結果

問題 No.3012 Catch C code
ユーザー なおなお
提出日時 2015-09-01 03:10:26
言語 Text
(cat 8.3)
結果
WA  
実行時間 -
コード長 264 bytes
コンパイル時間 206 ms
コンパイル使用メモリ 5,324 KB
実行使用メモリ 4,376 KB
最終ジャッジ日時 2023-09-25 21:34:07
合計ジャッジ時間 1,005 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
int main(){
    FILE *fp = fopen("a.c", "w");
    fputs("extern catch();main(){catch();}", fp);
    fclose(fp);
    system("gcc a.c cache.o -o a");
    system("./a");
    unlink("a.c");
    unlink("a");
}
0