记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:15:12: warning: unused variable 'g' [-Wunused-variable]
  int n,x,y,g;
            ^
foo.cc:16:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
  ~~~~~^~~~~~~~~
foo.cc:17:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&x);
  ~~~~~^~~~~~~~~
foo.cc:19:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&y);
   ~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 0ms 284.0 KiB
#2 Accepted 1ms 280.0 KiB
#3 Accepted 0ms 256.0 KiB
#4 Accepted 0ms 292.0 KiB
#5 Accepted 1ms 256.0 KiB

信息

递交者
类型
递交
题目
5-3 最大公约数
比赛
2021(四) 作业第一场:秀肌肉
语言
C++
递交时间
2021-09-30 16:19:50
评测时间
2021-09-30 16:19:50
评测机
分数
100
总耗时
5ms
峰值内存
292.0 KiB