记录详情

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 348.0 KiB

信息

递交者
类型
递交
题目
P1000 [BWT 基础]HI,BWTOJ!
语言
C++
递交时间
2021-08-24 15:54:49
评测时间
2021-08-24 15:54:49
评测机
分数
100
总耗时
1ms
峰值内存
348.0 KiB