/ Vijos /

记录详情

Wrong Answer

foo.cc: In function ‘int w(int, int, int)’:
foo.cc:9:37: warning: left operand of comma operator has no effect [-Wunused-value]
    9 |         else if(a<b and b<c)return (a,b,c-1)+w(a,b-1,c-1)-w(a,b-1,c-1);
      |                                     ^
foo.cc:9:43: warning: right operand of comma operator has no effect [-Wunused-value]
    9 |         else if(a<b and b<c)return (a,b,c-1)+w(a,b-1,c-1)-w(a,b-1,c-1);
      |                                           ^
foo.cc: In function ‘int main()’:
foo.cc:14:13: warning: unused variable ‘a’ [-Wunused-variable]
   14 |         int a,b,c;
      |             ^
foo.cc:14:15: warning: unused variable ‘b’ [-Wunused-variable]
   14 |         int a,b,c;
      |               ^
foo.cc:14:17: warning: unused variable ‘c’ [-Wunused-variable]
   14 |         int a,b,c;
      |                 ^
# 状态 耗时 内存占用
#1 Wrong Answer Standard answer longer than user output. 3ms 536.0 KiB

信息

递交者
类型
递交
题目
P1080 Function(Function(F...
语言
C++
递交时间
2024-03-31 21:39:12
评测时间
2024-03-31 21:39:12
评测机
分数
0
总耗时
3ms
峰值内存
536.0 KiB