結果
問題 |
No.9000 Hello World! (テスト用)
|
ユーザー |
![]() |
提出日時 | 2015-07-15 16:56:16 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 5,000 ms |
コード長 | 103 bytes |
コンパイル時間 | 121 ms |
コンパイル使用メモリ | 21,760 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-24 21:08:48 |
合計ジャッジ時間 | 630 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 4 |
コンパイルメッセージ
main.cpp:3:1: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type] 3 | main(void){ | ^~~~ main.cpp: In function ‘int main()’: main.cpp:5:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 5 | scanf("%s",c); | ~~~~~^~~~~~~~
ソースコード
#include<stdio.h> main(void){ char c[256]; scanf("%s",c); printf("Hello World!\n" ); return 0; }