Codeforces Round 1008 (Div. 2) 题目讲解 ABCDEF (CF2078)
合集 · 题目讲解 (117)
-
[题解] CF1918D. Blocking Elements (4连招学以致用的一天)
14:40
-
[题解] ABC338G. evall (一道有趣的计数题)
11:51
-
题目讲解 LeetCode 3187. Peaks in Array / Codeforces Round 953 E. Computing Machine
17:41
-
Codeforces Round 957 (Div. 3) 题目讲解 (ABCDEFG)
45:19
-
Codeforces Round 959 (Div. 1+2) 题目讲解 (ABCDE)
37:12
-
Codeforces Round 961 (Div. 2) 题目讲解 (CF1995 ABCD)
52:06
-
CF1997F. Chips on a Line 题目讲解 (dp接dp)
40:18
-
Codeforces Round 963 (Div. 2) 题目讲解 (ABCDF1)
55:19
-
Educational Codeforces Round 168 (Div. 2) 题目讲解 (CF1997 ABCDE)
47:03
-
Codeforces Round 964 (Div. 4) 题目讲解 (ABCDEFG1G2)
29:02
-
Codeforces Round 965 (Div. 2) 题目讲解 (ABCDE1)
1:03:42
-
CF1996G. Penacony 题目讲解 (Codeforces Round 962 G)
25:05
-
Codeforces Round 966 (Div. 3) 题目讲解 (ABCDEFH)
52:30
-
CF2000G. Call During the Journey 题目讲解 (Codeforces Round 966 G) 一个思路两种实现
36:19
-
Codeforces Round 967 (Div. 2) 题目讲解 (ABCDE1)
54:43
-
Codeforces Round 968 (Div. 2) 题目讲解 (ABCD1D2)
38:48
-
Codeforces Round 970 (Div. 3) 题目讲解 (ABCDEFGH)
41:45
-
Codeforces Round 971 (Div. 4) 题目讲解 (ABCDEFG1G2)
45:23
-
Codeforces Round 974 (Div. 3) 题目讲解 (ABCDEFGH)
1:21:21
-
Codeforces Round 977 (Div. 2) 题目讲解 (ABC1C2DE1E2)
1:43:51
-
LeetCode Biweekly Contest 141 题目讲解 (ABCD)
23:09
-
Educational Codeforces Round 170 (Div. 2) 题目讲解 (ABCDEF)
1:31:21
-
Codeforces Round 980 (Div. 2) 题目讲解 (ABCDEF)
1:47:37
-
Codeforces Round 979 (Div. 2) 题目讲解 (ABCDE) CF2030
1:11:48
-
Codeforces Round 981 (Div. 3) 题目讲解 (ABCDEFG) CF2033
1:03:21
-
Codeforces Round 982 (Div. 2) 题目讲解 (ABCD1D2) CF2027
1:02:00
-
Educational Codeforces Round 171 (Div. 2) 题目讲解 ABCDE (CF2026)
57:25
-
Codeforces Round 984 (Div. 3) 题目讲解 ABCDEFG (CF2036)
1:08:38
-
Refact.ai Match 1 (Codeforces Round 985) 题目讲解 ABCDE (CF2029)
1:10:26
-
Codeforces Round 986 (Div. 2) 题目讲解 ABCDE (CF2028)
1:25:36
-
Codeforces Round 988 (Div. 3) 题目讲解 ABCDEGF (CF2037)
53:46
-
2024-2025 ICPC, NERC, Southern and Volga Russian Regional 题目讲解 NJCALKGB (CF2038)
1:08:35
-
Codeforces Round 989 Div.1+2 题目讲解 ABCDE (CF2034) Rayan Programming Contest 2024
47:42
-
Codeforces Round 990 (Div. 2) 题目讲解 ABCDE (CF2047)
46:52
-
Educational Codeforces Round 172 (Div. 2) 题目讲解 ABCD (CF2042)
42:42
-
Codeforces Round 991 (Div. 3) 题目讲解 ABCDEFG (CF2050)
45:44
-
LeetCode Biweekly Contest 145 题目讲解 (ABCD)
39:12
-
Codeforces Round 992 (Div. 2) 题目讲解 ABCDE (CF2040)
1:06:17
-
Codeforces Round 993 (Div. 4) 题目讲解 ABCDEFG1G2H (CF2044)
49:49
-
Codeforces Global Round 28 题目讲解 ABCDE (CF2048)
47:37
-
LeetCode Biweekly Contest 146 题目讲解 (BCD)
50:08
-
Codeforces Round 994 (Div. 2) 题目讲解 ABCDE (CF2049)
1:03:24
-
Codeforces Round 995 (Div. 3) 题目讲解 ABCDEFG (CF2051)
47:44
-
Educational Codeforces Round 173 (Div. 2) 题目讲解 ABCDE (CF2043)
48:16
-
Codeforces Good Bye 2024: 2025 is NEAR 题目讲解 ABCDE (CF2053)
1:03:40
-
Codeforces Hello 2025 题目讲解 ABCDE1E2 (CF2057)
1:07:36
-
Codeforces Round 996 (Div. 2) 题目讲解 ABCD (CF2055)
1:18:52
-
Codeforces Round 998 (Div. 3) 题目讲解 ABCDEFG (CF2060)
58:07
-
Codeforces Round 997 (Div. 2) 题目讲解 ABCDE (CF2056)
1:08:43
-
IAEPC Preliminary Contest (Codeforces Round 999, Div. 1+2) 题目讲解 ABCDEF1 (CF2061)
1:07:34
-
Codeforces Round 1000 (Div. 2) 题目讲解 ABCDEF1 (CF2063)
1:13:27
-
Codeforces Round 1003 (Div. 4) 题目讲解 BCDEFGH (CF2065)
1:01:21
-
Codeforces Round 1005 (Div. 2) 题目讲解 ABCDE (CF2064)
1:55:04
-
Educational Codeforces Round 174 (Div. 2) 题目讲解 ABCDE (CF2069)
46:11
-
Codeforces Round 1006 (Div. 3) 题目讲解 ABCDEFG (CF2072)
1:04:38
-
Educational Codeforces Round 175 (Rated for Div. 2) 题目讲解 ABCD (CF2070)
51:24
-
Codeforces Round 1007 (Div. 2) 题目讲解 ABCD1D2 (CF2071)
1:01:55
-
Codeforces Round 1008 (Div. 2) 题目讲解 ABCDEF (CF2078)
1:17:29
-
Codeforces Round 1009 (Div. 3) 题目讲解 ABCDEF (CF2074)
1:21:45
-
Codeforces Round 1010 (Div. 2) 题目讲解 ABCD (CF2082)
1:14:44
-
Educational Codeforces Round 176 (Div. 2) 题目讲解 ABCD (CF2075)
38:03
-
Codeforces Round 1011 (Div. 2) 题目讲解 ABCDE (CF2085)
36:25
-
Codeforces Round 1012 (Div. 2) 题目讲解 ABCDE1 (CF2090)
1:10:37
-
Codeforces Round 1013 (Div. 3) 题目讲解 ABCDEF (CF2091)
1:12:21
-
Codeforces Round 1014 (Div. 2) 题目讲解 ABCDE (CF2092)
42:20
-
Teza Round 1 (Codeforces Round 1015, Div 1 + 2) 题目讲解 ABCD (CF2084)
1:29:02
-
Codeforces Round 1016 (Div. 3) 题目讲解 ABCDEF (CF2093)
37:14
-
Educational Codeforces Round 177 (Div. 2) 题目讲解 BCDE (CF2086)
45:11
-
Codeforces Round 1017 (Div. 4) 题目讲解 GH (CF2094)
39:51
-
Neowise Labs Contest 1 (Codeforces Round 1018 Div. 1+2) 题目讲解 ABCDE (CF2096)
56:18
-
Codeforces Round 1019 (Div. 2) 题目讲解 ABCE (CF2103)
48:10
-
Codeforces Round 1020 (Div. 3) 题目讲解 CDEFG1G2 (CF2106)
1:12:36
-
Codeforces Round 1023 (Div. 2) 题目讲解 ABCDF1 (CF2107)
1:16:41
-
Codeforces Round 1021 (Div. 2) 题目讲解 ABCDE (CF2098)
1:26:44
-
Codeforces Round 1024 (Div. 2) 题目讲解 ABCDE (CF2102)
55:26
-
Codeforces Round 1025 (Div. 2) 题目讲解 ABC1C2C3DE (CF2109)
1:00:07
-
Codeforces Round 1026 (Div. 2) 题目讲解 ABCDE (CF2110)
34:59
-
Codeforces Round 1027 (Div. 3) 实况+讲解 (CF2114)
2:02:49
-
Educational Codeforces Round 179 (Rated for Div. 2) 实况+讲解 ABCDE (CF2111)
2:11:45
-
Codeforces Round 1029 (Div. 3) 题目讲解 ABCDEFG (CF2117)
42:55
-
Codeforces Round 1030 (Div. 2) 题目讲解 ABCD1D2 (CF2118)
50:09
-
Codeforces Round 1031 (Div. 2) 题目讲解 ABCDF (CF2113)
1:09:52
-
Codeforces Round 1032 (Div. 3) 题目讲解 ABCDEFGH (CF2121)
1:17:13
-
Codeforces Round 1033 (Div. 2) and CodeNite 2025 题目讲解 ABCDE (CF2120)
46:25
-
Codeforces Round 1034 (Div. 3) 题目讲解 ABCDEFG (CF2123)
49:01
-
Codeforces Round 1035 (Div. 2) 题目讲解 ABCDE (CF2119)
1:13:15
-
Codeforces Round 1037 (Div. 3) 题目讲解 ABCDEF (CF2126)
34:41
-
Order Capital Round 1 (Codeforces Round 1038, Div. 1+2) 题目讲解 ABCDE (CF2122)
1:09:21
-
Educational Codeforces Round 181 (Div. 2) 题目讲解 ABCDE (CF2125)
52:37
-
Codeforces Round 1042 (Div. 3) 题目讲解 A~H (CF2131)
1:09:16
-
Codeforces Round 1047 (Div. 3) 题目讲解 A~G (CF2137)
1:04:22
-
Codeforces Round 1050 (Div. 4) 题目讲解 B~G (CF2148)
54:00
-
Codeforces Round 1051 (Div. 2) 题目讲解 A~E (CF2143)
1:21:45
-
Codeforces Round 1052 (Div. 2) 题目讲解 A~E (CF2146)
44:45
-
Codeforces Round 1053 (Div. 2) 题目讲解 A~G1 (CF2151)
1:21:09
-
Codeforces Round 1054 (Div. 3) 题目讲解 A~G (CF2149)
1:24:47
-
AtCoder Beginner Contest 425 题目讲解 AC~G (ABC425)
45:02
-
Educational Codeforces Round 183 (Div. 2) 题目讲解 C~F (CF2145)
59:28
-
Codeforces Round 1056 拼好饭题解
0:13
-
Codeforces Round 1055 (Div. 1 + 2) 题目讲解 A~G (CF2152)
1:12:52
-
Codeforces Round 1057 (Div. 2) 题目讲解 B~F (CF2153)
53:36
-
AtCoder Beginner Contest 427 题目讲解 A~F (ABC427)
40:50
-
Codeforces Round 1058 (Div. 2) 题目讲解 A~G2 (CF2160)
1:24:27
-
Codeforces Round 1059 (Div. 3) 题目讲解 A~G (CF2162)
46:01
-
ABC428 和 CF Round 1060
0:18
-
Codeforces Round 1062 (Div. 4) 实况+题目讲解 A~G (CF2167)
1:40:38
-
Codeforces Global Round 30 (Div. 1 + Div. 2) 题目讲解 A~F2 (CF2164)
1:07:21
-
Codeforces Round 1064 (Div. 1) B. Marble Council (CF2165B/CF2166D) 讲解
54:24
-
Codeforces Round 1065 (Div. 3) 题目讲解 C~H (CF2171)
1:10:29
-
Codeforces Round 1066 (Div. 1 + 2) D. Billion Players (CF2157D) 讲解
32:54
-
Codeforces Round 1066 (Div. 1 + 2) E. Adjusting Drones (CF2157E) 讲解
21:16
-
Educational Codeforces Round 185 (Div. 2) 题目讲解 B~F (CF2170)
46:24
-
Codeforces Round 1082 (Div. 2) 题目讲解 (CF2202)
1:21:33
-
Educational Codeforces Round 188 (Div. 2) 题目讲解 (CF2205)
1:13:52
-
Codeforces Round 1087 (Div. 2) 题目讲解 (CF2209)
1:11:23
-
Codeforces Round 1089 (Div. 2) 题目讲解 (CF2210)
1:20:46
-
Educational Codeforces Round 191 (Div. 2) 题目讲解 (CF2233)
33:54
Description
B: Functional graph https://www.bilibili.com/video/BV1mC411b7sU C: 构造,取尽量大避免重复 D: 贪心,注意如何证明 E: 逐位思考,位运算 F: 取模大数 https://www.bilibili.com/video/BV194421F7na 组合数学公式推导
Comments
可以可以,这官解到现在还没出,佛了[笑哭]
♥ 3 ↩ 1
f 讲的好[支持]
♥ 2
void solve() { long long t0=0,t1=0; for(int i=0;i<30;i++){ if(i%2==0)t0|=1ll<<i; else t1|=1ll<<i; } cout<<t0<<endl<<flush; long long x0,x1; cin>>x0; cout<<t1<<endl<<flush; cin>>x1; cout<<"!"<<endl<<flush; long long q; cin>>q; vector<int>a(30,0); for(int i=1;i<30;i+=2){ if(x0>>i&1){ a【i】=x0>>(i+1)&1; }else a【i】=2; } if(x1&1)a【0】=2; else a【0】=x1>>1&1; for(int i=2;i<30;i+=2){ if(x1>>i&1){ a【i】=x1>>(i+1)&1; }else a【i】=2; } long long res=0; for(int i=0;i<30;i++){ if(q>>i&1)res+=1ll<<(i+1); else{ if(a【i】==2)res+=1ll<<i; else if(a【i】==1)res+=1ll<<(i+1); } } cout<<res<<endl<<flush; } 能请问一下为什么E题这样写测样例的时候会得到的都是一些很大的数,但是在提交之后却能ac?
↩ 6
up要常更啊
终于更了,直接三连
[给心心][给心心][给心心],太谢谢up了
↩ 1
来了~看看不会的题[打call][打call][打call]
↩ 1
F deepseek 直接秒了[笑哭]赛时过这么多是不是大家用ai了
↩ 3
[给心心][给心心]
↩ 1
爱看,UP加油!
↩ 1
[星星眼][星星眼][星星眼]
up好强的思维能力,羡慕
E 题讲得好 [支持][支持]
原来D就是贪心啊,比赛的时候想复杂了,用了一种奇怪的方式过了[笑哭],话说假如说乘的倍数有小数是不是就不能这么贪了
↩ 1
大佬,这个组合数学公式的文章可以分享一下吗?[星星眼][星星眼]
↩ 1
太强[doge]
Up加油[星星眼][星星眼][星星眼][星星眼]
↩ 1
终于更了[大哭]
↩ 1