Compile Error

/in/foo.cc:1:2: error: invalid preprocessing directive #clude
 #clude<bits/stdc++.h>
  ^~~~~
/in/foo.cc:3:1: error: 'string' does not name a type
 string s,t;
 ^~~~~~
/in/foo.cc:4:1: error: 'itn' does not name a type
 itn cnt;
 ^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:7:10: error: 'cin' was not declared in this scope
  getline(cin,s);
          ^~~
/in/foo.cc:7:14: error: 's' was not declared in this scope
  getline(cin,s);
              ^
/in/foo.cc:7:15: error: 'getline' was not declared in this scope
  getline(cin,s);
               ^
/in/foo.cc:8:14: error: 't' was not declared in this scope
  getline(cin,t);
              ^
/in/foo.cc:12:3: error: 'cnt' was not declared in this scope
   cnt++;
   ^~~
/in/foo.cc:14:2: error: 'cout' was not declared in this scope
  cout<<cnt<<endl;
  ^~~~
/in/foo.cc:14:8: error: 'cnt' was not declared in this scope
  cout<<cnt<<endl;
        ^~~
/in/foo.cc:14:13: error: 'endl' was not declared in this scope
  cout<<cnt<<endl;
             ^~~~

信息

递交者
类型
递交
题目
P1087 3-6 查找资料
语言
C++
递交时间
2024-07-16 08:09:00
评测时间
2024-07-16 08:09:00
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes