/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int pd1()':
foo.cc:12:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
    if (p%i == 0 && q%i == 0)
       ^
foo.cc:21:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
    if (p%i == 0 && q%i == 0)
       ^
foo.cc: In function 'int pd2()':
foo.cc:34:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
    if (j%p == 0 && j%q == 0)
       ^
foo.cc:43:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
    if (j%p == 0 && j%q == 0)
       ^
foo.cc: In function 'int pd1()':
foo.cc:27:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
foo.cc: In function 'int pd2()':
foo.cc:49:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

自豪的采用 HydroJudger 进行评测(github.com/hydro-dev/HydroJudger)
{"receive":"2020-04-12T10:59:13.767Z","handle":"2020-04-12T10:59:13.767Z","cache_start":"2020-04-12T10:59:13.773Z","read_cases":"2020-04-12T10:59:13.904Z","judge":"2020-04-12T10:59:13.905Z","done":"2020-04-12T10:59:16.224Z"}
# 状态 耗时 内存占用
#1 Wrong Answer 读取到 277 ,应为 4 3ms 308.0 KiB
#2 Wrong Answer 读取到 65 ,应为 2 1ms 256.0 KiB
#3 Wrong Answer 0a1 > 2 470ms 256.0 KiB
#4 Wrong Answer 0a1 > 0 470ms 256.0 KiB
#5 Wrong Answer 0a1 > 4 956ms 256.0 KiB

信息

递交者
类型
递交
题目
P1131 最小公倍数和最大公约数问题
语言
C++
递交时间
2020-04-12 18:59:13
评测时间
2020-04-12 18:59:13
评测机
分数
0
总耗时
1902ms
峰值内存
308.0 KiB