记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:42:32: warning: 'ans2' may be used uninitialized [-Wmaybe-uninitialized]
   42 |         cout << ans1 << ' ' << ans2;
      |                                ^~~~
foo.cc:18:33: note: 'ans2' was declared here
   18 |         int ans1 = a[n - 1];int ans2;
      |                                 ^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 324.0 KiB
#2 Accepted 4ms 412.0 KiB
#3 Accepted 4ms 412.0 KiB
#4 Accepted 4ms 284.0 KiB
#5 Accepted 4ms 412.0 KiB
#6 Accepted 3ms 412.0 KiB
#7 Accepted 3ms 352.0 KiB
#8 Accepted 4ms 332.0 KiB
#9 Accepted 3ms 412.0 KiB
#10 Accepted 4ms 284.0 KiB

信息

递交者
类型
递交
题目
P1551 Problem 7B. 除数
比赛
2023秋 悬赏令第七周
语言
C++
递交时间
2023-11-21 09:24:39
评测时间
2023-11-21 09:24:39
评测机
分数
100
总耗时
40ms
峰值内存
412.0 KiB