记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:5:2: error: 'cin' was not declared in this scope
  cin>>n;
  ^~~
/in/foo.cc:12:4: error: 'cout' was not declared in this scope
    cout<<" ";
    ^~~~
/in/foo.cc:17:4: error: 'cout' was not declared in this scope
    cout<<"#";
    ^~~~
/in/foo.cc:21:3: error: 'cout' was not declared in this scope
   cout<<endl;
   ^~~~
/in/foo.cc:21:9: error: 'endl' was not declared in this scope
   cout<<endl;
         ^~~~
/in/foo.cc:4:7: warning: unused variable 'a' [-Wunused-variable]
  char a='a';
       ^

信息

递交者
类型
递交
题目
打印倒三角
语言
C++
递交时间
2018-05-27 10:47:54
评测时间
2018-05-27 10:47:54
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes