/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:42:16: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
   42 |         if ((m + n & 1) && gcd(m, n) == 1)  printf("y");
      |              ~~^~~
/in/foo.cc:36:9: warning: unused variable 'i' [-Wunused-variable]
   36 |     int i, j;
      |         ^
/in/foo.cc:36:12: warning: unused variable 'j' [-Wunused-variable]
   36 |     int i, j;
      |            ^
# 状态 耗时 内存占用
#1 Accepted 2ms 488.0 KiB
#2 Accepted 2ms 480.0 KiB
#3 Accepted 2ms 488.0 KiB
#4 Accepted 2ms 540.0 KiB
#5 Accepted 2ms 492.0 KiB

信息

递交者
类型
递交
题目
P1209 超级骑士游历问题
语言
C++
递交时间
2025-02-14 09:47:49
评测时间
2025-02-14 09:47:49
评测机
分数
100
总耗时
10ms
峰值内存
540.0 KiB