记录详情

Wrong Answer

foo.cc: In function ‘int main()’:
foo.cc:20:21: warning: unused variable ‘d’ [-Wunused-variable]
   20 |                 int d=(a*b)/c;
      |                     ^
foo.cc:22:16: warning: ‘d’ is used uninitialized [-Wuninitialized]
   22 |          cout<<d<<endl;
      |                ^
foo.cc:5:18: note: ‘d’ was declared here
    5 |         int a, b,d;
      |                  ^
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 72. 2ms 536.0 KiB
#2 Wrong Answer Read 0, expect 720000. 2ms 536.0 KiB
#3 Wrong Answer Read 0, expect 5040000. 2ms 764.0 KiB
#4 Wrong Answer Read 0, expect 50400. 2ms 540.0 KiB
#5 Wrong Answer Read 0, expect 504000. 3ms 320.0 KiB

信息

递交者
类型
递交
题目
A6-1 最大公约数专题:最大公约数和最小公倍数
比赛
南师大(含泰州学院)2024年新生赛(第一场)
语言
C++
递交时间
2024-08-15 23:05:38
评测时间
2024-08-15 23:05:38
评测机
分数
0
总耗时
13ms
峰值内存
764.0 KiB