记录详情

Compile Error

foo.cc:1:1: error: 'include' does not name a type; did you mean '__has_include'?
 include<iostream>
 ^~~~~~~
 __has_include
foo.cc: In function 'int main()':
foo.cc:7:12: error: 'cin' was not declared in this scope
     int n; cin >> n;
            ^~~
foo.cc:7:12: note: suggested alternative: 'main'
     int n; cin >> n;
            ^~~
            main
foo.cc:8:19: error: 'puts' was not declared in this scope
     if ( n < 16 ) puts("No");
                   ^~~~
foo.cc:8:19: note: suggested alternative: 'auto'
     if ( n < 16 ) puts("No");
                   ^~~~
                   auto
foo.cc:9:10: error: 'puts' was not declared in this scope
     else puts("Yes");
          ^~~~
foo.cc:9:10: note: suggested alternative: 'auto'
     else puts("Yes");
          ^~~~
          auto
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
p1016 牛肉面
语言
C++
递交时间
2021-11-26 22:16:32
评测时间
2021-11-26 22:16:32
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes