记录详情

Accepted

foo.c: In function 'solve':
foo.c:5:24: warning: 'return' with a value, in function returning void [-Wreturn-type]
    5 |                 return 0;
      |                        ^
foo.c:2:6: note: declared here
    2 | void solve(long long int x)
      |      ^~~~~
foo.c:7:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
    7 |         printf("%d", x%2);
      |                 ~^   ~~~
      |                  |    |
      |                  int  long long int
      |                 %lld
foo.c: In function 'main':
foo.c:11:25: warning: unused variable 'j' [-Wunused-variable]
   11 |         long long int x,j;
      |                         ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 288.0 KiB
#2 Accepted 2ms 388.0 KiB
#3 Accepted 2ms 284.0 KiB
#4 Accepted 2ms 284.0 KiB
#5 Accepted 2ms 284.0 KiB

信息

递交者
类型
递交
题目
P1080 xf1-3进制转换1
语言
C
递交时间
2023-12-13 11:54:06
评测时间
2023-12-13 11:54:06
评测机
分数
100
总耗时
11ms
峰值内存
388.0 KiB