/ AOCode /

记录详情

Compile Error

foo.cc:76:33: error: 'operator[]' function uses 'auto' type specifier without trailing return type
    auto& operator[] (const int i) {
                                 ^
foo.cc:76:33: note: deduced return type only available with -std=c++14 or -std=gnu++14
foo.cc:79:41: error: 'operator[]' function uses 'auto' type specifier without trailing return type
    const auto& operator[] (const int i) const {
                                         ^~~~~
foo.cc:79:41: note: deduced return type only available with -std=c++14 or -std=gnu++14
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1025 Mission 2 - B2 : The Ques of the Guards 2 (MID)
语言
C++
递交时间
2021-11-07 09:44:49
评测时间
2021-11-07 11:49:15
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes