/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:12:15: error: 'n' was not declared in this scope
   scanf("%d",&n);
               ^
/in/foo.cc:13:9: error: 'i' was not declared in this scope
    for (i=1;i<=n;i++)
         ^
/in/foo.cc:15:17: error: 'x' was not declared in this scope
     scanf("%d",&x); q.push(x);
                 ^
/in/foo.cc:16:26: error: expected primary-expression before ')' token
     if (x==1) scanf("%d",)
                          ^

信息

递交者
类型
递交
题目
P1002 过河
语言
C++
递交时间
2017-10-30 21:47:31
评测时间
2017-10-30 21:47:31
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes