/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void dfs(long long int, long long int, long long int)':
/in/foo.cc:34:53: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
   printf("%I64d   %I64d %I64d    %I64d\n",i,ans,st,k);
                                                     ^
/in/foo.cc:34:53: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
/in/foo.cc:34:53: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=]
/in/foo.cc:34:53: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long long int' [-Wformat=]
/in/foo.cc: In function 'int main()':
/in/foo.cc:46:26: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
  scanf("%I64d%I64d",&a,&b);
                          ^
/in/foo.cc:46:26: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:50:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
  printf("%I64d\n%I64d",1,b);
                           ^
/in/foo.cc:61:28: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
    printf("%I64d ",print[i]);
                            ^
# 状态 耗时 内存占用
#1 Wrong Answer 4ms 368.0 KiB

信息

递交者
类型
自测
题目
P1308 埃及分数
语言
C++
递交时间
2018-09-06 17:16:13
评测时间
2018-09-06 17:16:13
评测机
分数
0
总耗时
4ms
峰值内存
368.0 KiB