记录详情

Compile Error

/in/foo.cc:2:7: error: expected nested-name-specifier before 'namesopace'
 using namesopace std;
       ^~~~~~~~~~
/in/foo.cc:5:5: error: 'cout' was not declared in this scope
     cout"   * "<<endl;
     ^~~~
/in/foo.cc:5:5: note: suggested alternative:
In file included from /in/foo.cc:1:0:
/usr/include/c++/6/iostream:61:18: note:   'std::cout'
   extern ostream cout;  /// Linked to standard output
                  ^~~~
/in/foo.cc:5:9: error: expected '}' before string constant
     cout"   * "<<endl;
         ^~~~~~~
/in/foo.cc:6:2: error: 'cout' does not name a type
  cout"  ***"<<endl;
  ^~~~
/in/foo.cc:7:2: error: 'cout' does not name a type
  cout"*****"<<endl;
  ^~~~
/in/foo.cc:8:5: error: expected unqualified-id before 'return'
     return 0;
     ^~~~~~
/in/foo.cc:9:1: error: expected declaration before '}' token
 }
 ^

信息

递交者
类型
自测
语言
C++
递交时间
2024-11-09 20:16:32
评测时间
2024-11-09 20:16:32
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes