/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:4:23: warning: integer overflow in expression [-Woverflow]
 #define c(x) b(x)*b(x)*b(x)
                       ^
/in/foo.cc:5:19: note: in expansion of macro 'c'
 #define d(x) c(x)*c(x)*c(x)
                   ^
/in/foo.cc:6:14: note: in expansion of macro 'd'
 #define e(x) d(x)*d(x)*d(x)
              ^
/in/foo.cc:7:14: note: in expansion of macro 'e'
 #define f(x) e(x)*e(x)*e(x)
              ^
/in/foo.cc:8:14: note: in expansion of macro 'f'
 #define g(x) f(x)*f(x)*f(x)
              ^
/in/foo.cc:9:14: note: in expansion of macro 'g'
 #define h(x) g(x)*g(x)*g(x)
              ^
/in/foo.cc:10:14: note: in expansion of macro 'h'
 #define i(x) h(x)*h(x)*h(x)
              ^
/in/foo.cc:11:14: note: in expansion of macro 'i'
 #define j(x) i(x)*i(x)*i(x)
              ^
/in/foo.cc:15:19: note: in expansion of macro 'j'
  printf("%lld\n", j(4));
                   ^
/in/foo.cc:15:23: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int' [-Wformat=]
  printf("%lld\n", j(4));
                       ^
# 状态 耗时 内存占用
#1 Wrong Answer 4ms 344.0 KiB
#2 Wrong Answer 2ms 376.0 KiB
#3 Wrong Answer 3ms 360.0 KiB
#4 Wrong Answer 2ms 356.0 KiB
#5 Wrong Answer 2ms 348.0 KiB
#6 Wrong Answer 2ms 344.0 KiB
#7 Wrong Answer 2ms 348.0 KiB
#8 Wrong Answer 1ms 368.0 KiB
#9 Wrong Answer 2ms 368.0 KiB
#10 Wrong Answer 1ms 364.0 KiB

信息

递交者
类型
递交
题目
P2024 无向图最短路径
语言
C++
递交时间
2018-03-28 12:30:15
评测时间
2018-03-28 12:30:15
评测机
分数
0
总耗时
24ms
峰值内存
376.0 KiB