Compile Error

foo.cc:1:2: error: "1nclude" after # is not a positive integer
 #1nclude <iostream>
  ^~~~~~~
foo.cc: In function 'int main()':
foo.cc:6:2: error: 'cin' was not declared in this scope
  cin>>a>>b>>c;
  ^~~
foo.cc:6:2: note: suggested alternative: 'main'
  cin>>a>>b>>c;
  ^~~
  main
foo.cc:7:2: error: 's' was not declared in this scope
  s=(a+b+c)/3;
  ^
foo.cc:8:2: error: 'cout' was not declared in this scope
  cout>>s;
  ^~~~
foo.cc:9:2: error: 'return0' was not declared in this scope
  return0;
  ^~~~~~~
foo.cc:5:12: warning: unused variable 'd' [-Wunused-variable]
  int a,b,c,d;
            ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1007 求平均值
语言
C++
递交时间
2021-11-13 08:55:07
评测时间
2021-11-13 08:55:07
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes