/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:27:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
 scanf("%I64d",&n);
               ~~^
foo.cc:29:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
 scanf("%I64d",&num[i]);
               ~~~~~~~^
foo.cc:30:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
 scanf("%I64d%I64d",&a,&b);
                    ~~   ^
foo.cc:30:25: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
foo.cc:32:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
 printf("%I64d",ans);
                   ^
foo.cc:27:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf("%I64d",&n);
 ~~~~~^~~~~~~~~~~~
foo.cc:29:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf("%I64d",&num[i]);
 ~~~~~^~~~~~~~~~~~~~~~~
foo.cc:30:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf("%I64d%I64d",&a,&b);
 ~~~~~^~~~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Wrong Answer Read 7413, expect 7413. 1ms 384.0 KiB
#2 Wrong Answer Read 1563, expect 1563. 2ms 348.0 KiB
#3 Wrong Answer Read 1570, expect 1570. 1ms 384.0 KiB
#4 Wrong Answer Read 36485929, expect 36485929. 3ms 384.0 KiB
#5 Wrong Answer Read 36284390, expect 36284390. 1ms 384.0 KiB
#6 Wrong Answer Read 58161575, expect 58161575. 2ms 384.0 KiB
#7 Wrong Answer Read 79092154, expect 79092154. 1ms 384.0 KiB
#8 Wrong Answer Read 91599747, expect 91599747. 2ms 384.0 KiB
#9 Wrong Answer Read 122540947, expect 122540947. 7ms 392.0 KiB
#10 Wrong Answer Read 123921808, expect 123921808. 7ms 424.0 KiB

信息

递交者
类型
递交
题目
P1629 八
语言
C++
递交时间
2021-02-28 15:23:35
评测时间
2021-02-28 15:23:35
评测机
分数
0
总耗时
33ms
峰值内存
424.0 KiB