結果

問題 No.5003 物理好きクリッカー
ユーザー GrayCoder
提出日時 2018-12-09 23:16:43
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 399 bytes
コンパイル時間 1,385 ms
実行使用メモリ 21,984 KB
スコア 227,744
平均クエリ数 10000.00
最終ジャッジ日時 2021-07-19 09:17:05
合計ジャッジ時間 4,982 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 16 WA * 16
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp: 関数 ‘int main()’ 内:
main.cpp:20:17: 警告: ‘i’ はこの関数内初期化されずに使用されるかもしれません [-Wmaybe-uninitialized]
   20 |   for (int i; i < N; i++) {
      |               ~~^~~

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
#define sorted(a) sort(a.begin(), a.end());
typedef long long unsigned int ll;
const long mod = 1e9 + 7;

int main(void) {
#ifdef DEBUG
  freopen("input.txt", "r", stdin);
#endif

  ios_base::sync_with_stdio(false);
  cin.tie(0);

  int N;
  cin >> N;
  string S;
  cin >> S;

  for (int i; i < N; i++) {
    cout << "click" << endl;
  }

  return 0;
}
0