Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:9:22: error: unable to find numeric literal operator 'operator""\U0000ff1b'
    9 |         int m=s%3600/60;
      |                      ^~~~
/in/foo.cc:9:22: note: use '-fext-numeric-literals' to enable more built-in suffixes
/in/foo.cc:11:31: error: 'sec' was not declared in this scope
   11 |         cout<<h<<":"<<m<<":"<<sec<<endl;
      |                               ^~~

信息

递交者
类型
自测
题目
P1691 秒的转换
语言
C++
递交时间
2026-10-24 09:13:21
评测时间
2026-10-24 09:13:21
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes