Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:11:17: error: 'a' was not declared in this scope
   11 |                 a=b;
      |                 ^
/in/foo.cc:11:19: error: 'b' was not declared in this scope
   11 |                 a=b;
      |                   ^
/in/foo.cc:15:26: error: 'a' was not declared in this scope
   15 |                 cout<<aa/a<<" "<<bb/b;
      |                          ^
/in/foo.cc:15:37: error: 'b' was not declared in this scope
   15 |                 cout<<aa/a<<" "<<bb/b;
      |                                     ^

信息

递交者
类型
递交
题目
P1063 A6-2 最大公约数专题:分数的加法
语言
C++
递交时间
2025-02-15 19:13:54
评测时间
2025-02-15 19:13:54
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes