Compile Error

foo.cc: In function 'int main()':
foo.cc:5:11: error: expected initializer before 'B'
     int A B;
           ^
foo.cc:6:7: error: 'A' was not declared in this scope
  1 <= A,B <= 50000;
       ^
foo.cc:6:9: error: 'B' was not declared in this scope
  1 <= A,B <= 50000;
         ^
foo.cc:7:2: error: 'cout' was not declared in this scope
  cout<<A*B<<endl;
  ^~~~
foo.cc:7:13: error: 'endl' was not declared in this scope
  cout<<A*B<<endl;
             ^~~~
foo.cc:7:13: note: suggested alternative: 'enum'
  cout<<A*B<<endl;
             ^~~~
             enum
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P2328 1.3.19:A*B问题
比赛
初二开学分层赛
语言
C++
递交时间
2021-09-01 13:54:01
评测时间
2021-09-01 13:54:01
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes