Wrong Answer

foo.cc: In function ‘int main()’:
foo.cc:8:21: warning: ‘i’ is used uninitialized [-Wuninitialized]
    8 |                 if(n%i==0)
      |                    ~^~
foo.cc:5:15: note: ‘i’ was declared here
    5 |         int n,i,cnt=0;
      |               ^
# 状态 耗时 内存占用
#1 Wrong Answer Read No, expect Yes. 3ms 536.0 KiB
#2 Accepted 3ms 324.0 KiB

信息

递交者
类型
递交
题目
P1041 素数
语言
C++
递交时间
2024-03-29 15:45:28
评测时间
2024-03-29 15:45:28
评测机
分数
50
总耗时
6ms
峰值内存
536.0 KiB