Compile Error

/in/foo.cc:1:1: error: 'include' does not name a type
 include<iostream>
 ^~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:7:5: error: 'cin' was not declared in this scope
     cin >> a >> b >> c;
     ^~~
/in/foo.cc:8:23: error: 'swap' was not declared in this scope
     if(a > b)swap(a, b);
                       ^
/in/foo.cc:9:23: error: 'swap' was not declared in this scope
     if(b > c)swap(b, c);
                       ^
/in/foo.cc:13:32: error: 'printf' was not declared in this scope
         printf("%.2lf", sqrt(p));
                                ^
/in/foo.cc:14:11: error: 'cout' was not declared in this scope
     }else cout << "NO";
           ^~~~

信息

递交者
类型
递交
题目
P1701 求三角形面积
语言
C++
递交时间
2024-08-27 13:50:41
评测时间
2024-08-27 13:50:41
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes