/ Vijos /

记录详情

Compile Error

foo.cpp: In member function 'int XDS::build(int, int)':
foo.cpp:50:16: warning: 'rrc' may be used uninitialized in this function [-Wmaybe-uninitialized]
     n[u].rc=rrc;
                ^
foo.cpp:45:25: note: 'rrc' was declared here
     int llc,lrc,lcn,rlc,rrc,rcn;
                         ^
foo.cpp:50:16: warning: 'rrc' may be used uninitialized in this function [-Wmaybe-uninitialized]
     n[u].rc=rrc;
                ^
foo.cpp:45:25: note: 'rrc' was declared here
     int llc,lrc,lcn,rlc,rrc,rcn;
                         ^
foo.cpp:50:16: warning: 'rrc' may be used uninitialized in this function [-Wmaybe-uninitialized]
     n[u].rc=rrc;
                ^
foo.cpp:45:25: note: 'rrc' was declared here
     int llc,lrc,lcn,rlc,rrc,rcn;
                         ^
foo.cpp:50:16: warning: 'rrc' may be used uninitialized in this function [-Wmaybe-uninitialized]
     n[u].rc=rrc;
                ^
foo.cpp:45:25: note: 'rrc' was declared here
     int llc,lrc,lcn,rlc,rrc,rcn;
                         ^
foo.cpp:50:16: warning: 'rrc' may be used uninitialized in this function [-Wmaybe-uninitialized]
     n[u].rc=rrc;
                ^
foo.cpp:45:25: note: 'rrc' was declared here
     int llc,lrc,lcn,rlc,rrc,rcn;
                         ^
foo.cpp:50:16: warning: 'rrc' may be used uninitialized in this function [-Wmaybe-uninitialized]
     n[u].rc=rrc;
                ^
foo.cpp:45:25: note: 'rrc' was declared here
     int llc,lrc,lcn,rlc,rrc,rcn;
                         ^
foo.cpp:50:16: warning: 'rrc' may be used uninitialized in this function [-Wmaybe-uninitialized]
     n[u].rc=rrc;
                ^
foo.cpp:45:25: note: 'rrc' was declared here
     int llc,lrc,lcn,rlc,rrc,rcn;
                         ^
foo.cpp:50:16: warning: 'rrc' may be used uninitialized in this function [-Wmaybe-uninitialized]
     n[u].rc=rrc;
                ^
foo.cpp:45:25: note: 'rrc' was declared here
     int llc,lrc,lcn,rlc,rrc,rcn;
                         ^
foo.cpp:50:16: warning: 'rrc' may be used uninitialized in this function [-Wmaybe-uninitialized]
     n[u].rc=rrc;
                ^
foo.cpp:45:25: note: 'rrc' was declared here
     int llc,lrc,lcn,rlc,rrc,rcn;
                         ^
foo.cpp:50:16: warning: 'rrc' may be used uninitialized in this function [-Wmaybe-uninitialized]
     n[u].rc=rrc;
                ^
foo.cpp:45:25: note: 'rrc' was declared here
     int llc,lrc,lcn,rlc,rrc,rcn;
                         ^
foo.cpp:50:16: warning: 'rrc' may be used uninitialized in this function [-Wmaybe-uninitialized]
     n[u].rc=rrc;
                ^
foo.cpp:45:25: note: 'rrc' was declared here
     int llc,lrc,lcn,rlc,rrc,rcn;
                         ^
foo.cpp:50:16: warning: 'rrc' may be used uninitialized in this function [-Wmaybe-uninitialized]
     n[u].rc=rrc;
                ^
foo.cpp:45:25: note: 'rrc' was declared here
     int llc,lrc,lcn,rlc,rrc,rcn;
                         ^
foo.cpp: In member function 'int XDS::qrypos(int, int)':
foo.cpp:50:16: warning: 'rrc' may be used uninitialized in this function [-Wmaybe-uninitialized]
     n[u].rc=rrc;
                ^
foo.cpp:45:25: note: 'rrc' was declared here
     int llc,lrc,lcn,rlc,rrc,rcn;
                         ^
foo.cpp:50:16: warning: 'rrc' may be used uninitialized in this function [-Wmaybe-uninitialized]
     n[u].rc=rrc;
                ^
foo.cpp:45:25: note: 'rrc' was declared here
     int llc,lrc,lcn,rlc,rrc,rcn;
                         ^
foo.cpp:50:16: warning: 'rrc' may be used uninitialized in this function [-Wmaybe-uninitialized]
     n[u].rc=rrc;
                ^
foo.cpp:45:25: note: 'rrc' was declared here
     int llc,lrc,lcn,rlc,rrc,rcn;
                         ^
foo.cpp:50:16: warning: 'rrc' may be used uninitialized in this function [-Wmaybe-uninitialized]
     n[u].rc=rrc;
                ^
foo.cpp:45:25: note: 'rrc' was declared here
     int llc,lrc,lcn,rlc,rrc,rcn;
                         ^
foo.cpp:50:16: warning: 'rrc' may be used uninitialized in th

信息

递交者
类型
递交
题目
P1828 项链工厂
语言
C++
递交时间
2016-05-17 18:06:08
评测时间
2016-05-17 18:06:34
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes