Accepted

foo.cc: In function ‘int main()’:
foo.cc:13:25: warning: ‘c’ may be used uninitialized [-Wmaybe-uninitialized]
   13 |                 while (c<=e)
      |                        ~^~~
foo.cc:5:20: note: ‘c’ was declared here
    5 |         double a,b,c,e,cnt=2;
      |                    ^
# 状态 耗时 内存占用
#1 Accepted 2ms 516.0 KiB
#2 Accepted 3ms 516.0 KiB
#3 Accepted 2ms 512.0 KiB
#4 Accepted 3ms 508.0 KiB
#5 Accepted 2ms 508.0 KiB
#6 Accepted 2ms 768.0 KiB
#7 Accepted 2ms 512.0 KiB
#8 Accepted 2ms 512.0 KiB
#9 Accepted 2ms 508.0 KiB
#10 Accepted 2ms 508.0 KiB

信息

递交者
类型
递交
题目
P3183 直角三角形 GESP202606二级T1
比赛
2026.10.2中级班练习
语言
C++
递交时间
2026-10-02 22:13:30
评测时间
2026-10-14 04:33:42
评测机
分数
100
总耗时
27ms
峰值内存
768.0 KiB