/ Vijos /

记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:9:10: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[10001]' [-Wformat=]
  scanf("%s\n%s",&num1,&num2);
         ~^      ~~~~~
foo.c:9:14: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'char (*)[10001]' [-Wformat=]
  scanf("%s\n%s",&num1,&num2);
             ~^        ~~~~~
foo.c:24:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  while(ans[max]=0) max--;
        ^~~
foo.c:9:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%s\n%s",&num1,&num2);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 372.0 KiB
#2 Wrong Answer Read {0}, expect {1}. ["5006197164069442...","1500619716406944..."] 1ms 372.0 KiB
#3 Wrong Answer Read {0}, expect {1}. ["7409796673052936...","4740979667305293..."] 1ms 368.0 KiB
#4 Accepted 91ms 472.0 KiB

信息

递交者
类型
递交
题目
P1040 高精度乘法
语言
C
递交时间
2021-01-28 13:06:29
评测时间
2021-01-28 13:06:29
评测机
分数
50
总耗时
95ms
峰值内存
472.0 KiB