Submission #00149


ソースコード

ステータス

項目 データ
問題 0002 - 試験
ユーザー名 R2528
投稿日時 2025-08-21 10:09:32
言語 C++
状態 Compile Error
得点 0
ソースコード長 305 Byte
最大実行時間 -
最大メモリ使用量

コンパイルメッセージ

./Main.cpp: In function ‘int main()’:
./Main.cpp:8:22: error: in C++98 ‘scores’ must be initialized by constructor, not by ‘{...}’
     std::vector<int> scores = {a, b, c};
                      ^~~~~~
./Main.cpp:8:39: error: could not convert ‘{a, b, c}’ from ‘<brace-enclosed initializer list>’ to ‘std::vector<int>’
     std::vector<int> scores = {a, b, c};
                                       ^

セット

セット 得点 Cases

テストケース

ファイル名 状態 実行時間 メモリ使用量 #