/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:101:38: warning: left shift count >= width of type [-Wshift-count-overflow]
  101 |         return (74 | 35 & 32 << (~(78<<91)) ^ 114514) == 1919810;
      |                                    ~~^~~~
/in/foo.cc:101:30: warning: left shift count is negative [-Wshift-count-negative]
  101 |         return (74 | 35 & 32 << (~(78<<91)) ^ 114514) == 1919810;
      |                           ~~~^~~~~~~~~~~~~~
/in/foo.cc:101:25: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
  101 |         return (74 | 35 & 32 << (~(78<<91)) ^ 114514) == 1919810;
      |                      ~~~^~~~~~~~~~~~~~~~~~~
/in/foo.cc:101:45: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
  101 |         return (74 | 35 & 32 << (~(78<<91)) ^ 114514) == 1919810;
      |                      ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/in/foo.cc:101:55: warning: bitwise comparison always evaluates to false [-Wtautological-compare]
  101 |         return (74 | 35 & 32 << (~(78<<91)) ^ 114514) == 1919810;
      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 480.0 KiB
#2 Wrong Answer 1ms 484.0 KiB
#3 Accepted 1ms 344.0 KiB
#4 Accepted 1ms 528.0 KiB
#5 Accepted 1ms 532.0 KiB

信息

递交者
类型
递交
题目
P1253 旅行家的预算
语言
C++
递交时间
2026-06-20 22:25:21
评测时间
2026-06-20 22:25:21
评测机
分数
80
总耗时
8ms
峰值内存
532.0 KiB