记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:8:39: warning: unused variable 'c' [-Wunused-variable]
    8 |  int a[100000]={1}, n=1,b[100000]={1},c[100000]={1}, m=1,k,o,p,q;
      |                                       ^
foo.c: In function 'Add':
foo.c:45:12: warning: operation on 'i' may be undefined [-Wsequence-point]
   45 |  c[i++]=a[i++];
      |           ~^~
foo.c:20:10: warning: unused variable 'j' [-Wunused-variable]
   20 |  int i=0,j,jw=0,c[100000];
      |          ^
foo.c: In function 'main':
foo.c:9:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    9 |  scanf("%d%d",&k,&o);
      |  ^~~~~~~~~~~~~~~~~~~
foo.c:10:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   10 |  scanf("%d%d",&q,&p);
      |  ^~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 1.375 MiB
#2 Wrong Answer Read 1267650600228220..., expect 1267650600228229.... 2ms 1.379 MiB
#3 Wrong Answer Read 2037035976334486..., expect 2037035976334486.... 2ms 1.5 MiB
#4 Accepted 3ms 1.375 MiB
#5 Accepted 3ms 1.5 MiB

信息

递交者
类型
递交
题目
P1024 OO6-2 高精度整数类的加法运算
比赛
2022春 面向对象程序设计方法的上机作业
语言
C
递交时间
2022-05-15 10:53:25
评测时间
2022-05-15 10:53:25
评测机
分数
60
总耗时
15ms
峰值内存
1.5 MiB