记录详情

Accepted

/in/foo.cc: In function 'int To_Ten(char)':
/in/foo.cc:70:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/foo.cc: In function 'char To_K(int, int)':
/in/foo.cc:23:7: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized]
  char c;
       ^
/in/foo.cc: In function 'bign change(int, int)':
/in/foo.cc:47:14: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized]
   res.a[i++] = To_K(k % r, r);
   ~~~~~~~~~~~^~~~~~~~~~~~~~~~
/in/foo.cc: In function 'bign Mul(bign, int)':
/in/foo.cc:84:18: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized]
   res.a[res.n++] = To_K(carry % r, r);
   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/in/foo.cc:79:18: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized]
   res.a[res.n++] = To_K(temp % r, r);
   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 1.008 MiB
#2 Accepted 3ms 1.008 MiB
#3 Accepted 3ms 484.0 KiB
#4 Accepted 3ms 600.0 KiB
#5 Accepted 3ms 484.0 KiB

信息

递交者
类型
递交
题目
A11-2 K进制的高精度整数
比赛
基于结构数组的编程技能的训练(一)
语言
C++
递交时间
2019-02-09 09:53:13
评测时间
2019-02-09 09:53:13
评测机
分数
100
总耗时
18ms
峰值内存
1.008 MiB