/ Vijos /

记录详情

Compile Error

foo.cpp:1:1: error: 'include' does not name a type
 include<iostream> include<string> include<math.h> include<algorithm> include<stdio.h>
 ^
foo.cpp: In function 'int main()':
foo.cpp:13:1: error: 'cin' was not declared in this scope
 cin>>a[i];
 ^
foo.cpp:21:12: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
 if(s%11==10&&a[13]=='X'||s%11==b[13]) cout<<"Right"<<endl;
            ^
foo.cpp:21:39: error: 'cout' was not declared in this scope
 if(s%11==10&&a[13]=='X'||s%11==b[13]) cout<<"Right"<<endl;
                                       ^
foo.cpp:21:54: error: 'endl' was not declared in this scope
 if(s%11==10&&a[13]=='X'||s%11==b[13]) cout<<"Right"<<endl;
                                                      ^
foo.cpp:26:1: error: 'cout' was not declared in this scope
 cout<<a[i];
 ^
foo.cpp:28:14: error: 'cout' was not declared in this scope
 if(s%11==10) cout<<'X';
              ^
foo.cpp:29:6: error: 'cout' was not declared in this scope
 else cout<<s%11;
      ^

信息

递交者
类型
递交
题目
P1484 ISBN号码
语言
C++
递交时间
2016-03-29 23:11:29
评测时间
2016-03-29 23:11:29
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes