Time Exceeded

foo.cc: In function ‘int main()’:
foo.cc:6:33: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
    6 |         cin>>n;if(n==pow(2,31)){for(int i=1;i<=31;i++)
      |                                 ^~~
foo.cc:7:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
    7 |                 cout<<2<<" ";   return 0;}
      |                                 ^~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 764.0 KiB
#2 Accepted 2ms 536.0 KiB
#3 Accepted 3ms 324.0 KiB
#4 Accepted 2ms 320.0 KiB
#5 Accepted 2ms 764.0 KiB
#6 Accepted 4ms 764.0 KiB
#7 Accepted 2ms 492.0 KiB
#8 Accepted 6ms 764.0 KiB
#9 Accepted 548ms 536.0 KiB
#10 Time Exceeded ≥1000ms ≥536.0 KiB

信息

递交者
类型
递交
题目
P1770 分解质因子
语言
C++
递交时间
2024-08-18 17:10:19
评测时间
2024-08-18 17:10:19
评测机
分数
90
总耗时
≥1577ms
峰值内存
≥764.0 KiB