/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'void go(int, int)':
/in/foo.cc:7:19: warning: unused variable 'k' [-Wunused-variable]
  register int i,j,k;
                   ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:35:23: error: 'sync_with_stdio' was not declared in this scope
  ios:sync_with_stdio(0);
                       ^
/in/foo.cc:39:6: error: redeclaration of 'int i'
  int i,x,y;
      ^
/in/foo.cc:37:15: note: 'int i' previously declared here
  register int i,j,k; 
               ^
/in/foo.cc:37:17: warning: unused variable 'j' [-Wunused-variable]
  register int i,j,k; 
                 ^
/in/foo.cc:37:19: warning: unused variable 'k' [-Wunused-variable]
  register int i,j,k; 
                   ^
/in/foo.cc:35:2: warning: label 'ios' defined but not used [-Wunused-label]
  ios:sync_with_stdio(0);
  ^~~

信息

递交者
类型
递交
题目
P1593 部落卫队
语言
C++
递交时间
2024-06-15 20:08:30
评测时间
2024-06-15 20:08:30
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes