记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:38:15: warning: 'ans' may be used uninitialized [-Wmaybe-uninitialized]
   38 |         printf("%.3f",ans);
      |         ~~~~~~^~~~~~~~~~~~
/in/foo.cc:18:24: note: 'ans' was declared here
   18 |         double l=0,r=0,ans;
      |                        ^~~
# 状态 耗时 内存占用
#1 Accepted 5ms 588.0 KiB
#2 Accepted 2ms 544.0 KiB
#3 Accepted 5ms 592.0 KiB
#4 Accepted 5ms 592.0 KiB
#5 Accepted 2ms 528.0 KiB
#6 Accepted 3ms 552.0 KiB
#7 Accepted 3ms 552.0 KiB
#8 Accepted 4ms 564.0 KiB
#9 Accepted 4ms 592.0 KiB
#10 Accepted 3ms 580.0 KiB

信息

递交者
类型
递交
题目
P1003 小Q的生日派
语言
C++
递交时间
2025-05-11 12:33:44
评测时间
2025-05-11 12:48:12
评测机
分数
100
总耗时
40ms
峰值内存
592.0 KiB