/ AKIOI OJ /

记录详情

Runtime Error

/in/foo.cc:3:0: warning: ignoring #pragma optimize  [-Wunknown-pragmas]
 #pragma optimize(3, "Ofast", "inline")
 
/in/foo.cc: In function 'long long int read()':
/in/foo.cc:11:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if (ch == '-') f = -1; ch = getchar();
   ^~
/in/foo.cc:11:26: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if (ch == '-') f = -1; ch = getchar();
                          ^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:39:26: warning: iteration 1000003 invokes undefined behavior [-Waggressive-loop-optimizations]
         cnt[i] += cnt[i-1], cnt[i] %= mod;
                          ^
/in/foo.cc:38:23: note: within this loop
     for (int i = 2; i <= maxn; i++) {
                     ~~^~~~~~~
/in/foo.cc:32:19: warning: iteration 1000003 invokes undefined behavior [-Waggressive-loop-optimizations]
         if (!vis[i]) {
              ~~~~~^
/in/foo.cc:31:22: note: within this loop
     for (ll i = 2; i <= maxn; i++) {
                    ~~^~~~~~~
# 状态 耗时 内存占用
#1 Runtime Error 4ms 536.0 KiB
#2 Runtime Error 4ms 412.0 KiB
#3 Runtime Error 4ms 412.0 KiB
#4 Runtime Error 4ms 412.0 KiB
#5 Runtime Error 3ms 416.0 KiB
#6 Runtime Error 4ms 412.0 KiB
#7 Runtime Error 4ms 372.0 KiB
#8 Runtime Error 4ms 412.0 KiB
#9 Runtime Error 3ms 416.0 KiB
#10 Runtime Error 4ms 320.0 KiB

信息

递交者
类型
递交
题目
P1014 TDOG模拟 #1 质数统计
语言
C++
递交时间
2024-08-17 10:27:38
评测时间
2024-08-17 10:27:38
评测机
分数
0
总耗时
41ms
峰值内存
536.0 KiB