Compile Error

foo.cc:4:7: error: expected identifier before numeric constant
    4 | char [100005]
      |       ^~~~~~
foo.cc:4:7: error: expected ‘]’ before numeric constant
    4 | char [100005]
      |       ^~~~~~
      |       ]
foo.cc:4:6: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
    4 | char [100005]
      |      ^
foo.cc:4:6: error: structured binding declaration cannot have type ‘char’
foo.cc:4:6: note: type must be cv-qualified ‘auto’ or reference to cv-qualified ‘auto’
foo.cc:4:6: error: empty structured binding declaration
foo.cc:5:1: error: expected initializer before ‘int’
    5 | int main()
      | ^~~

信息

递交者
类型
递交
题目
P2626 字母求和3级1 2024.3
语言
C++
递交时间
2025-07-26 08:54:07
评测时间
2025-07-26 08:54:07
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes