/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:29:26: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
  scanf("%I64d%I64d",&m,&n);
                          ^
/in/foo.cc:29:26: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:32:48: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
  for(ll i=1;i<=limt;i++) printf("%I64d ",ans[i]);return 0;
                                                ^
/in/foo.cc:32:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(ll i=1;i<=limt;i++) printf("%I64d ",ans[i]);return 0;
  ^~~
/in/foo.cc:32:50: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(ll i=1;i<=limt;i++) printf("%I64d ",ans[i]);return 0;
                                                  ^~~~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 380.0 KiB
#2 Accepted 3ms 344.0 KiB
#3 Accepted 3ms 216.0 KiB
#4 Accepted 4ms 2.34 MiB
#5 Accepted 2ms 384.0 KiB
#6 Accepted 5ms 348.0 KiB
#7 Accepted 9ms 344.0 KiB
#8 Accepted 6ms 2.25 MiB
#9 Accepted 4ms 340.0 KiB
#10 Accepted 27ms 360.0 KiB

信息

递交者
类型
递交
题目
P1308 埃及分数
语言
C++
递交时间
2017-12-10 21:09:57
评测时间
2017-12-10 21:09:57
评测机
分数
100
总耗时
70ms
峰值内存
2.34 MiB