/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'void getnum(num&)':
/in/foo.cc:23:62: error: 'r' was not declared in this scope
   23 | for(n.p=p=0;--i>=0;) if(s[i]=='.') n.p=p; else n.n[p++]=s[i]>r;
      |                                                              ^
/in/foo.cc:25:8: error: 'a' was not declared in this scope
   25 | getnum(a);
      |        ^
/in/foo.cc:27:8: error: 'b' was not declared in this scope
   27 | getnum(b);
      |        ^
/in/foo.cc:29:9: error: 'r' was not declared in this scope
   29 | mul(a,b,r);
      |         ^
/in/foo.cc:29:1: error: 'mul' was not declared in this scope; did you mean 'fmul'?
   29 | mul(a,b,r);
      | ^~~
      | fmul
/in/foo.cc:31:1: error: 'out' was not declared in this scope
   31 | out(a);
      | ^~~
/in/foo.cc:33:8: error: return-statement with a value, in function returning 'void' [-fpermissive]
   33 | return 0;
      |        ^

信息

递交者
类型
递交
题目
P1301 多进制高精度乘法
语言
C++
递交时间
2025-12-24 00:40:13
评测时间
2025-12-24 00:40:13
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes