/ Vijos /

记录详情

Accepted

/in/foo.cc:3:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    3 | main()
      | ^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:33:8: warning: 'd' may be used uninitialized [-Wmaybe-uninitialized]
   33 | if(c&&d==i)
      |       ~^~~
/in/foo.cc:5:33: note: 'd' was declared here
    5 | int k,x,i,sum=0,y,a[101],b[101],d;
      |                                 ^
# 状态 耗时 内存占用
#1 Accepted 2ms 368.0 KiB
#2 Accepted 2ms 484.0 KiB
#3 Accepted 2ms 476.0 KiB
#4 Accepted 2ms 432.0 KiB
#5 Accepted 2ms 476.0 KiB
#6 Accepted 1ms 452.0 KiB
#7 Accepted 1ms 536.0 KiB
#8 Accepted 1ms 344.0 KiB
#9 Accepted 2ms 480.0 KiB
#10 Accepted 1ms 532.0 KiB

信息

递交者
类型
递交
题目
P1343 精度计算
语言
C++
递交时间
2026-02-19 15:13:57
评测时间
2026-02-19 15:13:57
评测机
分数
100
总耗时
20ms
峰值内存
536.0 KiB