记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:8:44: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
  long long l, r; scanf("%I64d%I64d", &l, &r);
                                      ~~    ^
/in/foo.cc:8:44: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:17:99: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
  for(long long i = l; i <= r; ++i) if(ans[i-l]) printf("%d\n", ans[i-l]); else printf("%I64d\n", i);
                                                                                                   ^
# 状态 耗时 内存占用
#1 Runtime Error 4ms 5.059 MiB
#2 Runtime Error 4ms 5.066 MiB
#3 Runtime Error 4ms 5.184 MiB
#4 Runtime Error 3ms 5.062 MiB
#5 Runtime Error 3ms 5.059 MiB
#6 Runtime Error 4ms 5.062 MiB
#7 Runtime Error 3ms 5.062 MiB
#8 Runtime Error 3ms 5.062 MiB
#9 Runtime Error 3ms 5.059 MiB
#10 Runtime Error 3ms 5.234 MiB

信息

递交者
类型
递交
题目
最小质因子
语言
C++
递交时间
2017-09-12 17:26:24
评测时间
2017-09-12 17:26:24
评测机
分数
0
总耗时
37ms
峰值内存
5.234 MiB