/ Vijos /

记录详情

Accepted

/in/foo.cc: In member function 'overload overload::operator/(const int&)':
/in/foo.cc:51:7: warning: unused variable 'len' [-Wunused-variable]
   int len = y.data[0];
       ^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:39:13: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized]
   y.data[len]?y.data[0] = len:y.data[0] = --len;
   ~~~~~~~~~~^
/in/foo.cc:32:7: note: 'len' was declared here
   int len;
       ^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 608.0 KiB
#2 Accepted 1ms 612.0 KiB
#3 Accepted 1ms 508.0 KiB
#4 Accepted 1ms 504.0 KiB
#5 Accepted 1ms 608.0 KiB
#6 Accepted 1ms 632.0 KiB
#7 Accepted 31ms 628.0 KiB
#8 Accepted 31ms 620.0 KiB
#9 Accepted 31ms 624.0 KiB
#10 Accepted 31ms 624.0 KiB

信息

递交者
类型
递交
题目
P1779 国王游戏
语言
C++
递交时间
2024-03-24 11:11:50
评测时间
2024-03-24 11:11:50
评测机
分数
100
总耗时
137ms
峰值内存
632.0 KiB