记录详情

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>>gnum;
     ^~~
/in/foo.cc:34:9: error: 'cout' was not declared in this scope
         cout<<-1<<endl;
         ^~~~
/in/foo.cc:34:19: error: 'endl' was not declared in this scope
         cout<<-1<<endl;
                   ^~~~
/in/foo.cc:38:9: error: 'cout' was not declared in this scope
         cout<<max(lessbottom,moretop)<<endl;
         ^~~~
/in/foo.cc:38:37: error: 'max' was not declared in this scope
         cout<<max(lessbottom,moretop)<<endl;
                                     ^
/in/foo.cc:38:40: error: 'endl' was not declared in this scope
         cout<<max(lessbottom,moretop)<<endl;
                                        ^~~~

信息

递交者
类型
递交
题目
(ty 1-3) 分组
语言
C++
递交时间
2021-02-22 14:11:53
评测时间
2021-02-22 14:11:53
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes