/ new_bzoj /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:61:9: warning: unused variable 'a' [-Wunused-variable]
     int a[10], Tot;
         ^
/in/foo.cc:61:16: warning: unused variable 'Tot' [-Wunused-variable]
     int a[10], Tot;
                ^~~
/in/foo.cc: In function 'void prime_table()':
/in/foo.cc:14:20: warning: iteration 1003 invokes undefined behavior [-Waggressive-loop-optimizations]
       if(!isprime[i]) prime[++tot] = i;
           ~~~~~~~~~^
/in/foo.cc:13:22: note: within this loop
     for(int i = 2; i <= maxn; ++i) {
                    ~~^~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 640.0 KiB
#2 Wrong Answer 3ms 736.0 KiB
#3 Wrong Answer 3ms 640.0 KiB
#4 Wrong Answer 5ms 640.0 KiB
#5 Wrong Answer 2ms 728.0 KiB
#6 Wrong Answer 6ms 640.0 KiB
#7 Wrong Answer 5ms 744.0 KiB
#8 Wrong Answer 7ms 640.0 KiB
#9 Wrong Answer 20ms 740.0 KiB

信息

递交者
类型
递交
题目
明明的烦恼
语言
C++
递交时间
2017-08-26 23:13:41
评测时间
2017-08-26 23:13:41
评测机
分数
0
总耗时
59ms
峰值内存
744.0 KiB