/ Vijos /

记录详情

Compile Error

/in/foo.cc:1:1: error: 'include' does not name a type
 include <iostream>
 ^~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:7:2: error: 'cin' was not declared in this scope
  cin>>n>>m;
  ^~~
/in/foo.cc:9:24: error: 'memset' was not declared in this scope
  memset(a, 0, sizeof(a));
                        ^
/in/foo.cc:11:20: error: 'min' was not declared in this scope
   a[i][min(i-1,31-i)]=1;
                    ^
/in/foo.cc:20:2: error: 'cout' was not declared in this scope
  cout<<a[1][m]<<endl;
  ^~~~
/in/foo.cc:20:17: error: 'endl' was not declared in this scope
  cout<<a[1][m]<<endl;
                 ^~~~

信息

递交者
类型
递交
题目
P1485 传球游戏
语言
C++
递交时间
2021-07-14 19:31:27
评测时间
2021-07-14 19:31:27
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes