結果
| 問題 |
No.8010 Print inside /bin
|
| コンテスト | |
| ユーザー |
kakira9618
|
| 提出日時 | 2015-05-04 00:10:02 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 4 ms / 1,500 ms |
| コード長 | 133 bytes |
| コンパイル時間 | 157 ms |
| コンパイル使用メモリ | 22,144 KB |
| 実行使用メモリ | 6,812 KB |
| 最終ジャッジ日時 | 2024-07-05 18:05:42 |
| 合計ジャッジ時間 | 605 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
| 外部呼び出し有り |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 |
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:7:11: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
7 | system(ls);
| ~~~~~~^~~~
ソースコード
#include <stdio.h>
#include <stdlib.h>
int main(void) {
const char *ls = "ls /bin";
system(ls);
return EXIT_SUCCESS;
}
kakira9618