/ Vijos /

记录详情

Compile Error

/in/foo.cc:8:95: error: 'find_with_base_and_initial_number' function uses 'auto' type specifier without trailing return type
 auto find_with_base_and_initial_number(int mmap[],int base,int a,int b,long int lb,long int ub) {
                                                                                               ^
/in/foo.cc:8:95: note: deduced return type only available with -std=c++14 or -std=gnu++14
/in/foo.cc:26:65: error: 'find_with_base' function uses 'auto' type specifier without trailing return type
 auto find_with_base(int mmap[],int rbase,long int lb,long int ub) {
                                                                 ^
/in/foo.cc:26:65: note: deduced return type only available with -std=c++14 or -std=gnu++14
/in/foo.cc:34:61: error: 'find' function uses 'auto' type specifier without trailing return type
 auto find(int mmap[],int rlb,int rub,long int lb,long int ub) {
                                                             ^
/in/foo.cc:34:61: note: deduced return type only available with -std=c++14 or -std=gnu++14
/in/foo.cc: In function 'auto find(int*, int, int, long int, long int)':
/in/foo.cc:35:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (size_t i = rlb; i <= rub; i++)
                          ~~^~~~~~
/in/foo.cc: At global scope:
/in/foo.cc:41:30: error: 'rollout' function uses 'auto' type specifier without trailing return type
 auto rollout(int mmap[],int n) {
                              ^
/in/foo.cc:41:30: note: deduced return type only available with -std=c++14 or -std=gnu++14

信息

递交者
类型
递交
题目
P1162 波浪数
语言
C++
递交时间
2024-03-07 16:45:24
评测时间
2024-03-07 16:45:24
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes