/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:13:17: error: unable to find numeric literal operator 'operator""n'
 cout<<(n*(n+1)*(2n+1)/6)<<endl;
                 ^~
/in/foo.cc:13:17: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes

信息

递交者
类型
递交
题目
P1307 黑皮的正方形
语言
C++
递交时间
2019-09-15 19:21:13
评测时间
2019-09-15 19:21:13
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes