/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:8:7: error: 'i' was not declared in this scope
  for (i=1;i<=t;i++) s[i]=false;
       ^
/in/foo.cc:9:7: error: 'i' was not declared in this scope
  for (i=1;i<=n;i++){
       ^
/in/foo.cc:10:14: error: expected primary-expression before '%' token
   scanf("%d",%x);
              ^
/in/foo.cc:10:15: error: 'x' was not declared in this scope
   scanf("%d",%x);
               ^
/in/foo.cc:14:25: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'long long int*' [-Wformat=]
     printf("%lld\n",&ans);
                         ^

信息

递交者
类型
递交
题目
P1245 座位的争执
语言
C++
递交时间
2017-06-10 20:01:42
评测时间
2017-06-10 20:01:42
评测机
分数
0
总耗时
1367ms
峰值内存
124.281 MiB