记录详情

Time Exceeded

/in/foo.cc: In function 'long long int count1(int, int, int)':
/in/foo.cc:13:23: warning: operation on 'mod[x]' may be undefined [-Wsequence-point]
   cnt=cnt-c[mod[x]]+c[++mod[x]];                 
                       ^~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:22:6: warning: unused variable 'L' [-Wunused-variable]
  int L,R;
      ^
/in/foo.cc:22:8: warning: unused variable 'R' [-Wunused-variable]
  int L,R;
        ^
# 状态 耗时 内存占用
#1 Accepted 3ms 2.227 MiB
#2 Accepted 2ms 2.207 MiB
#3 Accepted 9ms 2.344 MiB
#4 Accepted 10ms 2.348 MiB
#5 Time Exceeded ≥1002ms ≥5.477 MiB
#6 Time Exceeded ≥1002ms ≥5.574 MiB

信息

递交者
类型
递交
题目
P1306 C. Multiple of k
语言
C++
递交时间
2022-02-04 13:51:14
评测时间
2022-02-04 13:51:14
评测机
分数
120
总耗时
≥2030ms
峰值内存
≥5.574 MiB