ログイン
新規登録
AtsuoCoder Waseda Tour Finals 2025
読込中…
Home
Tasks
Clar
Submissions
Standings
提出 99224c71-76c6-4591-8ae1-e04dfdc97ca5
コード
#include <bits/stdc++.h> using namespace std; int main() { int N,D; A<int> A(N); cin >> N >> D; for (int i = 0; i < N; i++) { cin >> A.at(i); } int sum=0; for(int i=0; i<N;i++){ if(A.at(i)<=D){ sum++; } } cout<<sum; }
結果
問題
点数
言語
結果
実行時間
メモリ
D - Deletion
0
C++
WJ
0 ms
0 KiB
コンパイルエラー
Main.cpp: In function 'int main()': Main.cpp:6:5: error: 'A' was not declared in this scope 6 | A<int> A(N); | ^ Main.cpp:6:7: error: expected primary-expression before 'int' 6 | A<int> A(N); | ^~~