/ 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 'int main()':
foo.cpp:47:10: error: 's' was not declared in this scope
     puts(s);
          ^

信息

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