/ Vijos /

记录详情

Accepted

foo.cc: In function 'void gao(int, int, int)':
foo.cc:8:11: warning: unused variable 'b' [-Wunused-variable]
     int a,b,c=0,y=x;
           ^
foo.cc: In function 'void get_sg(int)':
foo.cc:16:13: warning: unused variable 'c' [-Wunused-variable]
     int a,b,c;
             ^
foo.cc: In function 'int main()':
foo.cc:35:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d",&T);
     ~~~~~^~~~~~~~~
foo.cc:39:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d%d",&n,&q);
         ~~~~~^~~~~~~~~~~~~~
foo.cc:43:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
             scanf("%d",&b);
             ~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 432.0 KiB
#2 Accepted 3ms 416.0 KiB
#3 Accepted 3ms 416.0 KiB
#4 Accepted 3ms 420.0 KiB
#5 Accepted 162ms 2.344 MiB
#6 Accepted 267ms 4.336 MiB
#7 Accepted 364ms 6.277 MiB
#8 Accepted 108ms 2.383 MiB
#9 Accepted 190ms 4.328 MiB
#10 Accepted 283ms 6.281 MiB

信息

递交者
类型
递交
题目
P1993 硬币游戏
语言
C++
递交时间
2021-07-23 08:27:51
评测时间
2021-07-23 08:27:51
评测机
分数
100
总耗时
1390ms
峰值内存
6.281 MiB