/ Vijos /

记录详情

Accepted

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 1ms 384.0 KiB
#2 Accepted 2ms 600.0 KiB
#3 Accepted 2ms 1.0 MiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 2ms 1.125 MiB
#6 Accepted 2ms 768.0 KiB
#7 Accepted 2ms 512.0 KiB
#8 Accepted 1ms 512.0 KiB
#9 Accepted 1ms 384.0 KiB
#10 Accepted 2ms 768.0 KiB
#11 Accepted 2ms 768.0 KiB

信息

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