Runtime Error

foo.cc: In function ‘int main()’:
foo.cc:9:21: warning: ‘a’ may be used uninitialized [-Wmaybe-uninitialized]
    9 |                 if(i%a!=0)
      |                    ~^~
foo.cc:5:15: note: ‘a’ was declared here
    5 |         int n,a;
      |               ^
# 状态 耗时 内存占用
#1 Runtime Error Floating point exception 2ms 536.0 KiB
#2 Runtime Error Floating point exception 3ms 512.0 KiB
#3 Runtime Error Floating point exception 2ms 556.0 KiB
#4 Runtime Error Floating point exception 2ms 536.0 KiB
#5 Runtime Error Floating point exception 3ms 768.0 KiB

信息

递交者
类型
递交
题目
P2623 找因数1级2 2024.3
语言
C++
递交时间
2025-02-12 15:31:19
评测时间
2025-02-12 15:31:19
评测机
分数
0
总耗时
14ms
峰值内存
768.0 KiB