/ Vijos /

记录详情

Compile Error

foo.cpp:8:10: error: ISO C++ forbids initialization of member 'max' [-fpermissive]
foo.cpp:8:10: error: making 'max' static [-fpermissive]
foo.cpp:8:10: error: ISO C++ forbids in-class initialization of non-const static member 'max'
foo.cpp:8:15: error: ISO C++ forbids initialization of member 'up' [-fpermissive]
foo.cpp:8:15: error: making 'up' static [-fpermissive]
foo.cpp:8:15: error: ISO C++ forbids in-class initialization of non-const static member 'up'
foo.cpp:8:22: error: ISO C++ forbids initialization of member 'data' [-fpermissive]
foo.cpp:8:22: error: making 'data' static [-fpermissive]
foo.cpp:8:22: error: ISO C++ forbids in-class initialization of non-const static member 'data'
foo.cpp:12:8: error: ISO C++ forbids initialization of member 'l' [-fpermissive]
foo.cpp:12:8: error: making 'l' static [-fpermissive]
foo.cpp:12:8: error: ISO C++ forbids in-class initialization of non-const static member 'l'
foo.cpp:12:12: error: ISO C++ forbids initialization of member 'r' [-fpermissive]
foo.cpp:12:12: error: making 'r' static [-fpermissive]
foo.cpp:12:12: error: ISO C++ forbids in-class initialization of non-const static member 'r'
foo.cpp:12:16: error: ISO C++ forbids initialization of member 't' [-fpermissive]
foo.cpp:12:16: error: making 't' static [-fpermissive]
foo.cpp:12:16: error: ISO C++ forbids in-class initialization of non-const static member 't'
foo.cpp:12:22: error: ISO C++ forbids initialization of member 'ans' [-fpermissive]
foo.cpp:12:22: error: making 'ans' static [-fpermissive]
foo.cpp:12:22: error: ISO C++ forbids in-class initialization of non-const static member 'ans'
foo.cpp:12:31: error: ISO C++ forbids initialization of member 'shunxu' [-fpermissive]
foo.cpp:12:31: error: making 'shunxu' static [-fpermissive]
foo.cpp:12:31: error: ISO C++ forbids in-class initialization of non-const static member 'shunxu'

信息

递交者
类型
递交
题目
P1927 智商的交易
比赛
情人节邀请赛之木姐姐的情人节梦录[Marathon]
语言
C++
递交时间
2015-02-14 19:27:43
评测时间
2015-02-16 00:23:06
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes