记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:33:9: error: unable to find numeric literal operator 'operator""b'
   int t=27b+(3r)%9;
         ^~~
foo.cc:33:9: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
foo.cc:33:14: error: unable to find numeric literal operator 'operator""r'
   int t=27b+(3r)%9;
              ^~
foo.cc:33:14: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
foo.cc:6:17: warning: unused variable 'i' [-Wunused-variable]
     int n,a[81],i=0,k=0,j=0,r=0,b=0,flag=1,t=0;
                 ^
foo.cc:6:44: warning: unused variable 't' [-Wunused-variable]
     int n,a[81],i=0,k=0,j=0,r=0,b=0,flag=1,t=0;
                                            ^

自豪的采用jd5进行评测(github.com/masnn/jd5)

信息

递交者
类型
自测
题目
P1118 数独验证
语言
C++
递交时间
2020-02-03 16:48:18
评测时间
2020-02-03 16:48:18
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes