/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'int main()':
foo.cpp:18:2: error: 'fin' was not declared in this scope
  fin>>n>>k;
  ^
foo.cpp:23:3: error: expected ';' before 'if'
   if(op=='A'){
   ^
foo.cpp:41:1: error: expected '}' at end of input
 }
 ^
foo.cpp:12:6: warning: unused variable 'm' [-Wunused-variable]
  int m=0,p=0,s=0,m1=0;
      ^
foo.cpp:12:10: warning: unused variable 'p' [-Wunused-variable]
  int m=0,p=0,s=0,m1=0;
          ^
foo.cpp:12:14: warning: unused variable 's' [-Wunused-variable]
  int m=0,p=0,s=0,m1=0;
              ^
foo.cpp:12:18: warning: unused variable 'm1' [-Wunused-variable]
  int m=0,p=0,s=0,m1=0;
                  ^
foo.cpp:41:1: error: expected '}' at end of input
 }
 ^

信息

递交者
类型
递交
题目
P1320 清点人数
语言
C++
递交时间
2014-11-07 22:02:50
评测时间
2014-11-07 22:02:54
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes