結果
| 問題 |
No.8013 Trigger EPIPE
|
| ユーザー |
Lepton_s
|
| 提出日時 | 2015-09-11 21:26:21 |
| 言語 | C90 (gcc 12.3.0) |
| 結果 |
AC
|
| 実行時間 | 21 ms / 1,500 ms |
| コード長 | 52 bytes |
| コンパイル時間 | 199 ms |
| コンパイル使用メモリ | 19,328 KB |
| 実行使用メモリ | 24,836 KB |
| 平均クエリ数 | 1.00 |
| 最終ジャッジ日時 | 2024-07-16 21:17:49 |
| 合計ジャッジ時間 | 734 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 |
コンパイルメッセージ
main.c: In function ‘main’:
main.c:2:23: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration]
2 | int main(){ close(1); exit(0); }
| ^~~~
main.c:2:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
1 | #include <unistd.h>
+++ |+#include <stdlib.h>
2 | int main(){ close(1); exit(0); }
main.c:2:23: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
2 | int main(){ close(1); exit(0); }
| ^~~~
main.c:2:23: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
ソースコード
#include <unistd.h>
int main(){ close(1); exit(0); }
Lepton_s