/ new_bzoj /

记录详情

System Error

/in/foo.cc:126:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
 main()
      ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:129:16: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
  scanf("%d", &n);
                ^
/in/foo.cc:131:48: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
  for (int i = 1; i <= n; i++) scanf("%d", &a[i]), ++cnt[a[i]];
                                                ^
/in/foo.cc:135:27: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
   scanf("%d%d", &srx, &sry);
                           ^
/in/foo.cc:135:27: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:146:48: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
   printf("%d\n", cx(1, ta[i].start) - cnt[a[i]]);
                                                ^
VJ4Error('ProblemDataNotFoundError', '题目 590c9c35d3d8a13210993b62 的数据未找到。', 'newbzoj', '590c9c35d3d8a13210993b62')

信息

递交者
类型
递交
题目
松鼠的新家
语言
C++
递交时间
2018-03-30 15:39:57
评测时间
2018-03-30 15:39:57
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes