F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_36476975_2435.cpp:38:21: error: 'Z' function uses 'auto' type specifier without trailing return type
 auto Z(int r,int c=0) {return mat(vec(c?c:r),r);}
                     ^
0_0_36476975_2435.cpp:38:21: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_36476975_2435.cpp:39:13: error: 'E' function uses 'auto' type specifier without trailing return type
 auto E(int n) {auto t=Z(n); while(n--)t[n][n]=1; return t;}
             ^
0_0_36476975_2435.cpp:39:13: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_36476975_2435.cpp:42:47: error: 'operator+' function uses 'auto' type specifier without trailing return type
 #define gen(op) auto operator op   (mat m,ll k) {for(auto&v:m)v op##=k; return m;}
                                               ^
0_0_36476975_2435.cpp:44:1: note: in expansion of macro 'gen'
 gen(+) gen(%)
 ^
0_0_36476975_2435.cpp:42:47: note: deduced return type only available with -std=c++1y or -std=gnu++1y
 #define gen(op) auto operator op   (mat m,ll k) {for(auto&v:m)v op##=k; return m;}
                                               ^
0_0_36476975_2435.cpp:44:1: note: in expansion of macro 'gen'
 gen(+) gen(%)
 ^
0_0_36476975_2435.cpp:42:47: error: 'operator%' function uses 'auto' type specifier without trailing return type
 #define gen(op) auto operator op   (mat m,ll k) {for(auto&v:m)v op##=k; return m;}
                                               ^
0_0_36476975_2435.cpp:44:8: note: in expansion of macro 'gen'
 gen(+) gen(%)
        ^
0_0_36476975_2435.cpp:42:47: note: deduced return type only available with -std=c++1y or -std=gnu++1y
 #define gen(op) auto operator op   (mat m,ll k) {for(auto&v:m)v op##=k; return m;}
                                               ^
0_0_36476975_2435.cpp:44:8: note: in expansion of macro 'gen'
 gen(+) gen(%)
        ^
0_0_36476975_2435.cpp:47:36: error: 'cat' function uses 'auto' type specifier without trailing return type
 auto cat(const mat& l, const mat& r) {
                                    ^
0_0_36476975_2435.cpp:47:36: note: deduced return type only available with -std=c++1y or -std=gnu++1y
0_0_36476975_2435.cpp:54:22: error: 'xiao_yvan' function uses 'auto' type specifier without trailing return type
 auto xiao_yvan(mat& m) {
                      ^
0_0_36476975_2435.cpp:54:22: note: deduced return type only available with -std=c++1y or -std=gnu++1y


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-23 04:22:00, Gzip enabled