結果
| 問題 |
No.9000 Hello World! (テスト用)
|
| ユーザー |
0020Takumi0410
|
| 提出日時 | 2018-09-24 23:40:42 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 5,000 ms |
| コード長 | 85 bytes |
| コンパイル時間 | 185 ms |
| コンパイル使用メモリ | 21,120 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-24 17:29:12 |
| 合計ジャッジ時間 | 597 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 4 |
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:4:13: warning: format ‘%s’ expects a matching ‘char*’ argument [-Wformat=]
4 | scanf("%s");
| ~^
| |
| char*
main.cpp:4:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
4 | scanf("%s");
| ~~~~~^~~~~~
ソースコード
#include <stdio.h>
int main(void){
scanf("%s");
printf("Hello World!\n");
}
0020Takumi0410