/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'long long int gcd(long long int, long long int)':
/in/foo.cc:10:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if (k2==0) return k1; return gcd(k2,k1%k2);
  ^~
/in/foo.cc:10:24: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  if (k2==0) return k1; return gcd(k2,k1%k2);
                        ^~~~~~
/in/foo.cc: In function 'void solve()':
/in/foo.cc:27:37: warning: unused variable 'd' [-Wunused-variable]
  scanf("%lld%lld",&m,&K); long long d=gcd(m,K);
                                     ^
# 状态 耗时 内存占用
#1 Accepted 4ms 376.0 KiB
#2 Accepted 5ms 368.0 KiB
#3 Accepted 3ms 384.0 KiB
#4 Accepted 4ms 336.0 KiB
#5 Accepted 3ms 356.0 KiB
#6 Accepted 3ms 364.0 KiB
#7 Accepted 6ms 376.0 KiB
#8 Accepted 6ms 292.0 KiB
#9 Accepted 315ms 292.0 KiB
#10 Accepted 329ms 364.0 KiB

信息

递交者
类型
递交
题目
P2042 迷宫
语言
C++
递交时间
2018-03-23 02:14:08
评测时间
2018-03-23 02:14:08
评测机
分数
100
总耗时
684ms
峰值内存
384.0 KiB