记录详情

Accepted

/in/foo.cc: In function 'long long int cal(std::vector<long long int>&)':
/in/foo.cc:13:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if(i!=a.size()/i)d.push_back(a.size()/i);
       ~^~~~~~~~~~~~
/in/foo.cc:17:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<d.size();i++){
              ~^~~~~~~~~
/in/foo.cc:20:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(int k=j;k<a.size();k+=d[i]){
                ~^~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 456.0 KiB
#2 Accepted 2ms 972.0 KiB
#3 Accepted 2ms 376.0 KiB
#4 Accepted 2ms 376.0 KiB
#5 Accepted 1ms 376.0 KiB
#6 Accepted 44ms 6.723 MiB
#7 Accepted 42ms 5.742 MiB
#8 Accepted 44ms 5.758 MiB
#9 Accepted 44ms 5.691 MiB
#10 Accepted 40ms 5.766 MiB

信息

递交者
类型
递交
题目
P1498 Problem 1F. Infinite sequence
比赛
2023秋 悬赏令第一周
语言
C++
递交时间
2023-10-01 20:20:30
评测时间
2023-10-03 20:21:25
评测机
分数
100
总耗时
228ms
峰值内存
6.723 MiB