Wrong Answer

foo.cc: In function ‘int main()’:
foo.cc:10:22: warning: ‘solve’ may be used uninitialized [-Wmaybe-uninitialized]
   10 |                 solve+=n;
      |                 ~~~~~^~~
foo.cc:5:30: note: ‘solve’ was declared here
    5 |         long long n,g,gonglv,solve;
      |                              ^~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 536.0 KiB
#2 Accepted 2ms 536.0 KiB
#3 Accepted 3ms 536.0 KiB
#4 Accepted 3ms 768.0 KiB
#5 Wrong Answer On line 1: Read YES, expect NO. 2ms 768.0 KiB

信息

递交者
类型
递交
题目
P1695 发动机功率
语言
C++
递交时间
2025-08-31 18:20:44
评测时间
2025-08-31 18:20:45
评测机
分数
80
总耗时
14ms
峰值内存
768.0 KiB