Compile Error

/in/foo.c: In function 'main':
/in/foo.c:6:9: error: 'cin' undeclared (first use in this function)
    6 |         cin>>a>>b;
      |         ^~~
/in/foo.c:6:9: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:19:9: error: 'cout' undeclared (first use in this function)
   19 |         cout<<cnt;
      |         ^~~~

信息

递交者
类型
自测
题目
P2774 计数2级2 2024.6
语言
C
递交时间
2025-03-03 19:35:56
评测时间
2025-03-03 19:35:56
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes