记录详情

Wrong Answer

/in/foo.c: In function 'power':
/in/foo.c:30:15: warning: passing argument 2 of 'Mul' makes integer from pointer without a cast [-Wint-conversion]
     Mul(temp, temp, result);
               ^~~~
/in/foo.c:5:6: note: expected 'int' but argument is of type 'char *'
 void Mul(char* num1, int num2, char* result) {
      ^~~
/in/foo.c:32:21: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration]
         Mul(result, atoi(x), temp);
                     ^~~~
# 状态 耗时 内存占用
#1 Wrong Answer 0ms 328.0 KiB
#2 Wrong Answer 1ms 376.0 KiB
#3 Wrong Answer 0ms 248.0 KiB
#4 Wrong Answer 0ms 324.0 KiB
#5 Wrong Answer 0ms 248.0 KiB

信息

递交者
类型
递交
题目
A11-1 高精度整数与常规整数的乘法
比赛
2024程序设计与竞赛作业赛第二场(数组与世界)
语言
C
递交时间
2024-10-13 17:11:14
评测时间
2024-10-13 17:11:14
评测机
分数
0
总耗时
4ms
峰值内存
376.0 KiB