记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:6:2: error: 'cin' was not declared in this scope
  cin>>n;
  ^~~
foo.cc:11:6: error: 'm' was not declared in this scope
  for(m=0;m<9;m++)
      ^
foo.cc:32:3: error: 't' was not declared in this scope
   t=27b+(3r)%9;
   ^
foo.cc:32:5: error: unable to find numeric literal operator 'operator""b'
   t=27b+(3r)%9;
     ^~~
foo.cc:32:5: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
foo.cc:32:10: error: unable to find numeric literal operator 'operator""r'
   t=27b+(3r)%9;
          ^~
foo.cc:32:10: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
foo.cc:42:3: error: 'cout' was not declared in this scope
   cout<<"right";
   ^~~~
foo.cc:44:3: error: 'cout' was not declared in this scope
   cout<<"wrong";
   ^~~~
foo.cc:5:17: warning: unused variable 'i' [-Wunused-variable]
     int n,a[81],i=0,k=0,j=0,r=0,b=0,flag=1;
                 ^

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

信息

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