/ Vijos /

记录详情

Compile Error

/in/foo.cc:40:13: error: 'int clock [20]' redeclared as different kind of symbol
 int clock[20];
             ^
In file included from /usr/include/pthread.h:24:0,
                 from /usr/include/x86_64-linux-gnu/c++/6/bits/gthr-default.h:35,
                 from /usr/include/x86_64-linux-gnu/c++/6/bits/gthr.h:148,
                 from /usr/include/c++/6/ext/atomicity.h:35,
                 from /usr/include/c++/6/bits/ios_base.h:39,
                 from /usr/include/c++/6/ios:42,
                 from /usr/include/c++/6/ostream:38,
                 from /usr/include/c++/6/iostream:39,
                 from /in/foo.cc:2:
/usr/include/time.h:189:16: note: previous declaration 'clock_t clock()'
 extern clock_t clock (void) __THROW;
                ^~~~~

信息

递交者
类型
递交
题目
P1016 北京2008的挂钟
语言
C++
递交时间
2022-02-07 16:48:34
评测时间
2022-02-07 16:48:34
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes