Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:15:17: error: expected primary-expression before '<' token
   15 |     cout<<endl<<<ans<<endl;
      |                 ^
/in/foo.cc:15:21: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
   15 |     cout<<endl<<<ans<<endl;
      |                  ~~~^~~~~~

信息

递交者
类型
递交
题目
P2620 B-smooth数5级2 2024.3
语言
C++
递交时间
2026-05-20 20:45:49
评测时间
2026-05-20 20:45:49
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes