/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:7: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:10:42: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     for(int i=1;i<=n;++i) scanf("%d",w+i),s[i][i]=0;
                           ~~~~~~~~~~~~~~~^~~~~~~~~~
foo.cc:12:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d%d%d",&x,&y,&z);
         ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:24:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d",&q);
     ~~~~~^~~~~~~~~
foo.cc:26:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d%d",&x,&y);
         ~~~~~^~~~~~~~~~~~~~
正在同步测试数据,请稍后
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 1ms 1.375 MiB
#2 Accepted 1ms 1.5 MiB
#3 Accepted 1ms 1.5 MiB
#4 Accepted 2ms 1.5 MiB
#5 Accepted 2ms 1.5 MiB
#6 Accepted 3ms 1.5 MiB
#7 Accepted 3ms 1.5 MiB
#8 Accepted 29ms 1.496 MiB
#9 Accepted 9ms 1.516 MiB
#10 Accepted 24ms 1.527 MiB

信息

递交者
类型
递交
题目
P1746 小D的旅行
语言
C++
递交时间
2021-04-17 21:23:10
评测时间
2021-04-17 21:23:10
评测机
分数
100
总耗时
80ms
峰值内存
1.527 MiB