/ Vijos /

记录详情

Compile Error

foo.cpp:1:1: error: 'include' does not name a type
 include<iostream>
 ^~~~~~~
foo.cpp: In function 'int main()':
foo.cpp:8:1: error: 'cin' was not declared in this scope
 cin>>a[i];
 ^~~
foo.cpp:9:1: error: 'cin' was not declared in this scope
 cin>>n;
 ^~~
foo.cpp:15:1: error: 'cout' was not declared in this scope
 cout<<k;
 ^~~~
foo.cpp:6:7: warning: unused variable 'j' [-Wunused-variable]
 int i,j,k=0,n;
       ^

信息

递交者
类型
递交
题目
P1102 陶陶摘苹果
语言
C++
递交时间
2017-03-10 19:42:45
评测时间
2017-03-10 19:42:45
评测机
分数
0
总耗时
31ms
峰值内存
0 Bytes