/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'long long int num(std::__cxx11::string)':
/in/foo.cc:14:1: error: expected '(' before '}' token
 }
 ^
/in/foo.cc:14:1: error: expected primary-expression before '}' token
/in/foo.cc:14:1: error: expected primary-expression before '}' token
/in/foo.cc:14:1: error: expected ';' before '}' token
/in/foo.cc:14:1: error: expected primary-expression before '}' token
/in/foo.cc:14:1: error: expected ')' before '}' token
/in/foo.cc:14:1: error: expected primary-expression before '}' token
/in/foo.cc:12:5: warning: unused variable 'res' [-Wunused-variable]
  ll res=0;
     ^~~
/in/foo.cc:14:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:23:8: warning: unused variable 'u' [-Wunused-variable]
     ll u=num(s)-Pow((ll)j-1);
        ^

信息

递交者
类型
递交
题目
P2026 几乎奇偶等和数
语言
C++
递交时间
2024-10-21 21:00:36
评测时间
2024-10-21 21:00:59
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes