結果

問題 No.9005 実行時間/使用メモリテスト(テスト用)
ユーザー sujinbemani_79c
提出日時 2015-03-16 02:03:51
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 131 bytes
コンパイル時間 158 ms
コンパイル使用メモリ 22,528 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-06-28 23:02:43
合計ジャッジ時間 621 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 5
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:4:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    4 |     scanf("%d",&x);
      |     ~~~~~^~~~~~~~~

ソースコード

diff #

#include<cstdio>
int main(){
    int x;
    scanf("%d",&x);
    for(int i=0;i<1000000000;i++){
        x+=x;
    }
    return 0;
}
0