/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'int ilog2_kf(int)':
foo.cpp:5:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     return (((*(int*)&q)>>23)+1)&31;
                       ^
foo.cpp: In function 'int gen(int)':
foo.cpp:17:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
foo.cpp: In function 'void record(int)':
foo.cpp:38:6: error: redefinition of 'void record(int)'
 void record(int n){
      ^
foo.cpp:26:6: note: 'void record(int)' previously defined here
 void record(int i){
      ^

信息

递交者
类型
递交
题目
P1514 天才的记忆
语言
C++
递交时间
2015-04-28 21:19:06
评测时间
2015-04-28 21:19:06
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes