记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:10:2: warning: statement with no effect [-Wunused-value]
  for(i;i>0;i=i/10);
  ^~~
foo.c:10:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
foo.c:11:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
      {
      ^
foo.c:9:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&num);
  ^~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 任意数:, expect yes. 0ms 196.0 KiB

信息

递交者
类型
自测
语言
C
递交时间
2021-08-29 19:44:17
评测时间
2021-08-29 19:44:17
评测机
分数
0
总耗时
0ms
峰值内存
196.0 KiB