/ 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 416.0 KiB
#2 Accepted 2ms 444.0 KiB
#3 Accepted 2ms 404.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 139ms 2.344 MiB
#6 Accepted 264ms 4.34 MiB
#7 Accepted 400ms 6.281 MiB
#8 Accepted 130ms 2.375 MiB
#9 Accepted 231ms 4.328 MiB
#10 Accepted 324ms 6.277 MiB

信息

递交者
类型
递交
题目
P1993 硬币游戏
语言
C++
递交时间
2021-08-02 10:38:43
评测时间
2021-08-02 10:38:43
评测机
分数
100
总耗时
1500ms
峰值内存
6.281 MiB