记录详情

Time Exceeded

foo.cc: In function 'int main()':
foo.cc:19:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   19 |                         if(a[i]<0&&a[j]>0 || a[i]>0&&a[j]<0)
      |                            ~~~~~~^~~~~~~~
foo.cc:38:29: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
   38 |                 printf("%I64d\n",maxsum);
      |                         ~~~~^    ~~~~~~
      |                             |    |
      |                             int  long long int
      |                         %I64lld
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 158, expect 158. 5ms 412.0 KiB
#2 Wrong Answer Read 296, expect 296. 4ms 412.0 KiB
#3 Time Exceeded ≥1100ms ≥1.398 MiB
#4 Time Exceeded ≥1100ms ≥1.152 MiB
#5 Time Exceeded ≥1101ms ≥1.961 MiB
#6 Wrong Answer Read 1078920077, expect 18258789261. 251ms 440.0 KiB
#7 Wrong Answer Read 1449582277, expect 1449582277. 131ms 908.0 KiB
#8 Wrong Answer Read -756777772, expect 3538189524. 308ms 412.0 KiB
#9 Wrong Answer Read -1537163801, expect 2757803495. 120ms 464.0 KiB
#10 Wrong Answer Read 503328993, expect 503328993. 68ms 532.0 KiB

信息

递交者
类型
递交
题目
P1507 3. Concate and count
比赛
2023秋 苏州青少年科技馆(吴江计算机协会)CSP-J/S模拟赛(1)
语言
C++
递交时间
2023-10-07 19:30:42
评测时间
2023-10-07 19:30:42
评测机
分数
0
总耗时
≥4193ms
峰值内存
≥1.961 MiB