Time Exceeded

/in/foo.cc: In function 'int main()':
/in/foo.cc:49:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(j=2;j*j<=i&&j<=max(n,m);j++)    
   ^~~
/in/foo.cc:55:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
    ans=ans+(cnt*5+bas+(cnt-1)*(cnt))*i;
    ^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 324.0 KiB
#2 Accepted 78ms 452.0 KiB
#3 Accepted 824ms 444.0 KiB
#4 Accepted 1ms 360.0 KiB
#5 Time Exceeded ≥1005ms ≥388.0 KiB

信息

递交者
类型
递交
题目
P2635 公倍数问题8级1 2024.3
语言
C++
递交时间
2024-06-20 17:02:46
评测时间
2024-06-20 17:02:46
评测机
分数
80
总耗时
≥1913ms
峰值内存
≥452.0 KiB