Compile Error
/in/foo.c: In function 'main':
/in/foo.c:7:8: error: 'cin' undeclared (first use in this function)
    7 |  while(cin>>a>>b){
      |        ^~~
/in/foo.c:7:8: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:10:4: error: 'cout' undeclared (first use in this function)
   10 |    cout<<" ";
      |    ^~~~
/in/foo.c:15:9: error: 'endl' undeclared (first use in this function)
   15 |   cout<<endl:
      |         ^~~~
/in/foo.c:15:13: error: expected ';' before ':' token
   15 |   cout<<endl:
      |             ^
      |             ;
  信息
- 递交者
- 类型
- 递交
- 题目
- P1205 字符三角形
- 语言
- C
- 递交时间
- 2025-04-12 20:05:21
- 评测时间
- 2025-04-12 20:05:21
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes