ログイン
新規登録
AtsuoCoder Waseda Tour Finals 2025
読込中…
Home
Tasks
Clar
Submissions
Standings
提出 d38ae3c4-8026-4a1e-ba7f-4214190e4ff8
コード
#include <bits/stdc++.h> using namespace std; int main() { int N; cin >> N; vector<int> math(N); // N個の数学の点数データ // 数学の点数データを受け取る for (int i = 0; i < N; i++) { cin >> math.at(i); } for (int i = 0; i < N; i++) {for (int i = 0; i < N; i++) { if(math.at(l)=i+1!){ cout << i+1<< endl;} } } } }
結果
問題
点数
言語
結果
実行時間
メモリ
F - TLE
0
C++
WJ
0 ms
0 KiB
コンパイルエラー
Main.cpp: In function 'int main()': Main.cpp:15:17: error: 'l' was not declared in this scope 15 | if(math.at(l)=i+1!){ cout << i+1<< endl;} | ^ Main.cpp:15:23: error: expected ')' before '!' token 15 | if(math.at(l)=i+1!){ cout << i+1<< endl;} | ~ ^ | ) Main.cpp: At global scope: Main.cpp:22:1: error: expected declaration before '}' token 22 | } | ^