记录详情

Accepted

foo.cc: In function 'long long int dirt(long long int)':
foo.cc:7:17: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
   printf("%d", x);
                 ^
foo.cc:8:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
foo.cc: In function 'long long int sc()':
foo.cc:30:19: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
   scanf("%d", &ans);
               ~~~~^
foo.cc:30:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d", &ans);
   ~~~~~^~~~~~~~~~~~
Found 1 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1000 [BWT 基础]HI,BWTOJ!
比赛
比赛测试项-Reted
语言
C++
递交时间
2021-08-24 16:22:51
评测时间
2021-08-24 16:22:51
评测机
分数
100
总耗时
1ms
峰值内存
384.0 KiB