/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:28:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d %d",&n,&m);
     ~~~~~^~~~~~~~~~~~~~~
foo.cc:29:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d %d %d",&idx[0],&vp[0],&wp[0]);
     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:30:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d %d %d",&idx[1],&vp[1],&wp[1]);
     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:31:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d %d %d",&idx[2],&vp[2],&wp[2]);
     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:35:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d %d",&w_,&ptype);
         ~~~~~^~~~~~~~~~~~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 640.0 KiB
#3 Accepted 3ms 1000.0 KiB
#4 Wrong Answer Read 708, expect 9564. 2ms 372.0 KiB
#5 Wrong Answer Read 77371, expect 79637. 4ms 1.125 MiB
#6 Accepted 3ms 896.0 KiB
#7 Accepted 2ms 640.0 KiB
#8 Accepted 2ms 640.0 KiB
#9 Accepted 2ms 384.0 KiB
#10 Accepted 3ms 768.0 KiB
#11 Accepted 3ms 768.0 KiB

信息

递交者
类型
递交
题目
P1407 古韵之刺绣
语言
C++
递交时间
2021-03-15 17:11:09
评测时间
2021-03-15 17:11:09
评测机
分数
82
总耗时
33ms
峰值内存
1.125 MiB