結果
問題 | No.5003 物理好きクリッカー |
ユーザー |
|
提出日時 | 2018-12-09 23:23:42 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 327 ms / 10,000 ms |
コード長 | 429 bytes |
コンパイル時間 | 1,403 ms |
実行使用メモリ | 21,948 KB |
スコア | 452,672 |
平均クエリ数 | 10000.00 |
最終ジャッジ日時 | 2021-07-19 09:17:20 |
合計ジャッジ時間 | 14,236 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge14 |
純コード判定しない問題か言語 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 32 |
コンパイルメッセージ
main.cpp: 関数 ‘int main()’ 内: main.cpp:21:17: 警告: ‘i’ はこの関数内初期化されずに使用されるかもしれません [-Wmaybe-uninitialized] 21 | for (int i; i < N; i++) { | ~~^~~
ソースコード
#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; string ans; for (int i; i < N; i++) { cout << "click" << endl; cin >> ans; } return 0; }