记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:8:9: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[100001]' [-Wformat=]
 scanf("%s",&number);
        ~^  ~~~~~~~
foo.c:21:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if(c[i]!=' ')  m=i;break;
  ^~
foo.c:21:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  if(c[i]!=' ')  m=i;break;
                     ^~~~~
foo.c:7:7: warning: unused variable 'i' [-Wunused-variable]
 int n,i,m,c[100001],b[100001]; 
       ^
foo.c: In function 't':
foo.c:29:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 for(int i=0;i<n;i++)
 ^~~
foo.c:31:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  char c[100001];
  ^~~~
foo.c: In function 'main':
foo.c:8:1: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
 scanf("%s",&number);
 ^~~~~~~~~~~~~~~~~~~
foo.c:9:1: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
 scanf("%d",&n);
 ^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0000000000000000..., expect 1099511627776. 6ms 348.0 KiB
#2 Wrong Answer Read 0000000000000000..., expect 1267650600228229.... 6ms 316.0 KiB
#3 Wrong Answer Read 0000000000000000..., expect 1378061233982227.... 6ms 256.0 KiB
#4 Wrong Answer Read 0000000000000000..., expect 3406417526964407.... 6ms 332.0 KiB
#5 Wrong Answer Read 0000000000000000..., expect 2986228355078392.... 6ms 256.0 KiB

信息

递交者
类型
递交
题目
A11-1 高精度整数与常规整数的乘法
比赛
2021(四) 作业第二场:见面赛
语言
C
递交时间
2021-10-31 12:52:48
评测时间
2021-10-31 12:52:48
评测机
分数
0
总耗时
34ms
峰值内存
348.0 KiB