摘要: C题就是考虑利用1,n两个端点就好,有些细节要特判。 #include<cstdio> #include<algorithm> #include<cstring> #include<cmath> #include<queue> #define A puts("Yes") #define B puts 阅读全文
posted @ 2023-10-07 09:16 gan_coder 阅读(9) 评论(0) 推荐(0)
摘要: 一般来说调用都是没有问题的。 但是当调用 Math.abs(-2147483648)时返回的是负数,因为超过了int的表示范围,就像注释里说的 Note that if the argument is equal to the value of Integer.MIN_VALUE, the most 阅读全文
posted @ 2023-10-07 08:44 gan_coder 阅读(52) 评论(0) 推荐(0)