結果

問題 No.244 ★1のグラフの問題
ユーザー nori.h
提出日時 2015-10-12 17:02:37
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 128 bytes
コンパイル時間 421 ms
コンパイル使用メモリ 54,944 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-10-04 12:25:41
合計ジャッジ時間 961 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 7
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:10:11: warning: ‘i’ is used uninitialized [-Wuninitialized]
   10 | cout << i-1 << endl;
      |           ^

ソースコード

diff #

#include <iostream>
//#include <string>

using namespace std;

int main(){
int a,i;
cin >> a;

cout << i-1 << endl;
return 0;
}
0