记录详情

Accepted

foo.cc: In function ‘int main()’:
foo.cc:7:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
    7 |     if(a<b)
      |     ^~
foo.cc:9:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
    9 |         a=b;
      |         ^
foo.cc:10:10: warning: ‘c’ may be used uninitialized [-Wmaybe-uninitialized]
   10 |         b=c;
      |         ~^~
foo.cc:5:13: note: ‘c’ was declared here
    5 |     int a,b,c,s,t;
      |             ^
# 状态 耗时 内存占用
#1 Accepted 3ms 536.0 KiB
#2 Accepted 3ms 536.0 KiB
#3 Accepted 4ms 536.0 KiB
#4 Accepted 5ms 556.0 KiB
#5 Accepted 31ms 320.0 KiB

信息

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