开发者发癫处 #64
Replies: 76 comments 65 replies
-
嗯我要发癫 @boomzero |
Beta Was this translation helpful? Give feedback.
-
@PythonSmall-Q @boomzero @shihongxi 你们复赛考的怎么样? |
Beta Was this translation helpful? Give feedback.
-
T2分没有暴力高...
… On Oct 22, 2023, at 13:37, Chen LangNing ***@***.***> wrote:
@PythonSmall-Q <https://github.com/PythonSmall-Q> @boomzero <https://github.com/boomzero> @shihongxi <https://github.com/shihongxi> 你们复赛考的怎么样?
—
Reply to this email directly, view it on GitHub <#64 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AULMJZJKOL64CVVEVPBPHSTYASWIRAVCNFSM6AAAAAA5RGGFZOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TGNBZGM3DM>.
You are receiving this because you were mentioned.
|
Beta Was this translation helpful? Give feedback.
-
我也就第一题有点希望了 |
Beta Was this translation helpful? Give feedback.
-
+1, 我就T1能AC, T3 5pts
… On Oct 22, 2023, at 13:59, Chen LangNing ***@***.***> wrote:
我也就第一题有点希望了
—
Reply to this email directly, view it on GitHub <#64 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AULMJZKSYL2LUMKBEQ2IKCTYASY2TAVCNFSM6AAAAAA5RGGFZOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TGNBZGQZTK>.
You are receiving this because you were mentioned.
|
Beta Was this translation helpful? Give feedback.
-
而且我J T4因为数组开太大boomzero
… On Oct 22, 2023, at 13:59, Chen LangNing ***@***.***> wrote:
我也就第一题有点希望了
—
Reply to this email directly, view it on GitHub <#64 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AULMJZKSYL2LUMKBEQ2IKCTYASY2TAVCNFSM6AAAAAA5RGGFZOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TGNBZGQZTK>.
You are receiving this because you were mentioned.
|
Beta Was this translation helpful? Give feedback.
-
去洛谷评测
… On Oct 22, 2023, at 15:00, Chen LangNing ***@***.***> wrote:
+1, 我就T1能AC, T3 5pts
On Oct 22, 2023, at 13:59, Chen LangNing @.***> wrote:
我也就第一题有点希望了
—
Reply to this email directly, view it on GitHub #64 (comment) <#64 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AULMJZKSYL2LUMKBEQ2IKCTYASY2TAVCNFSM6AAAAAA5RGGFZOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TGNBZGQZTK <https://github.com/notifications/unsubscribe-auth/AULMJZKSYL2LUMKBEQ2IKCTYASY2TAVCNFSM6AAAAAA5RGGFZOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TGNBZGQZTK>.
You are receiving this because you were mentioned.
你怎么知道的分数?
—
Reply to this email directly, view it on GitHub <#64 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AULMJZM7IN7EINOZPYFNAJDYATAA7AVCNFSM6AAAAAA5RGGFZOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TGNBZGYYDS>.
You are receiving this because you were mentioned.
|
Beta Was this translation helpful? Give feedback.
-
高老师发了SH代码
… On Oct 22, 2023, at 15:00, Chen LangNing ***@***.***> wrote:
+1, 我就T1能AC, T3 5pts
On Oct 22, 2023, at 13:59, Chen LangNing @.***> wrote:
我也就第一题有点希望了
—
Reply to this email directly, view it on GitHub #64 (comment) <#64 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AULMJZKSYL2LUMKBEQ2IKCTYASY2TAVCNFSM6AAAAAA5RGGFZOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TGNBZGQZTK <https://github.com/notifications/unsubscribe-auth/AULMJZKSYL2LUMKBEQ2IKCTYASY2TAVCNFSM6AAAAAA5RGGFZOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TGNBZGQZTK>.
You are receiving this because you were mentioned.
你怎么知道的分数?
—
Reply to this email directly, view it on GitHub <#64 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AULMJZM7IN7EINOZPYFNAJDYATAA7AVCNFSM6AAAAAA5RGGFZOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TGNBZGYYDS>.
You are receiving this because you were mentioned.
|
Beta Was this translation helpful? Give feedback.
-
你的准考证号是什么啊
… On Oct 22, 2023, at 15:00, Chen LangNing ***@***.***> wrote:
+1, 我就T1能AC, T3 5pts
On Oct 22, 2023, at 13:59, Chen LangNing @.***> wrote:
我也就第一题有点希望了
—
Reply to this email directly, view it on GitHub #64 (comment) <#64 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AULMJZKSYL2LUMKBEQ2IKCTYASY2TAVCNFSM6AAAAAA5RGGFZOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TGNBZGQZTK <https://github.com/notifications/unsubscribe-auth/AULMJZKSYL2LUMKBEQ2IKCTYASY2TAVCNFSM6AAAAAA5RGGFZOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TGNBZGQZTK>.
You are receiving this because you were mentioned.
你怎么知道的分数?
—
Reply to this email directly, view it on GitHub <#64 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AULMJZM7IN7EINOZPYFNAJDYATAA7AVCNFSM6AAAAAA5RGGFZOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TGNBZGYYDS>.
You are receiving this because you were mentioned.
|
Beta Was this translation helpful? Give feedback.
-
我的T1代码: #include <bits/stdc++.h>
using namespace std;
int locks[15][6], currl[6];
int main() {
freopen ("lock.in", "r", stdin);
freopen ("lock.out", "w", stdout);
int n;
scanf ("%d", &n);
for (int i = 1; i <= n; i++) {
scanf ("%d%d%d%d%d", &locks[i][1], &locks[i][2], &locks[i][3], &locks[i][4], &locks[i][5]);
}
int ans = 0;
for (int i = 0; i <= 9; i++) {
for (int j = 0; j <= 9; j++) {
for (int k = 0; k <= 9; k++) {
for (int l = 0; l <= 9; l++) {
for (int p = 0; p <= 9; p++) {
int psrt = 0;
for (int id = 1; id <= n; id++) {
currl[1] = i;
currl[2] = j;
currl[3] = k;
currl[4] = l;
currl[5] = p;
int sim = 0;
for (int q = 1; q <= 5; q++) {
if (locks[id][q] == currl[q]) sim++;
}
if (sim == 4) {
psrt++;
continue;
} else if (sim == 3) {
for (int q = 1; q <= 4; q++) {
while (currl[q] != locks[id][q] && currl[q + 1] != locks[id][q + 1]) {
currl[q]++;
currl[q + 1]++;
if (currl[q] > 9) currl[q] = 0;
if (currl[q + 1] > 9) currl[q + 1] = 0;
if (currl[q] == locks[id][q] && currl[q + 1] == locks[id][q + 1]) {
psrt++;
break;
}
}
}
}
}
if (psrt == n)
ans++;
}
}
}
}
}
printf ("%d", ans);
return 0;
} |
Beta Was this translation helpful? Give feedback.
-
hhh 我不知道 J,没考 |
Beta Was this translation helpful? Give feedback.
-
awk
… On Dec 25, 2023, at 21:49, Langning Chen ***@***.***> wrote:
@PythonSmall-Q <https://github.com/PythonSmall-Q> Power rename 只能正则表达式替换 ,我这个比 Power rename 还 Power
image.png (view on web) <https://github.com/XMOJ-Script-dev/XMOJ-Script/assets/81672884/30f54efa-0af0-4b49-93e6-1ffb1f0ea5b2>
—
Reply to this email directly, view it on GitHub <#64 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AULMJZOJK4XMQDYCNEZPQ6TYLF777AVCNFSM6AAAAAA5RGGFZOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TSNBUGIZTM>.
You are receiving this because you were mentioned.
|
Beta Was this translation helpful? Give feedback.
-
@boomzero Windows 下不管是 Powershell 还是 CMD 都没有 awk |
Beta Was this translation helpful? Give feedback.
-
@boomzero 尽管我经常用 Linux ,但是我不得不用 Windows ,因为我在还没有开始编程时就养成了使用 Windows 的习惯 |
Beta Was this translation helpful? Give feedback.
-
@boomzero @PythonSmall-Q 你说说 GitHub Edutcation 有多强大?我一个新项目刚刚提交上去了2天,就
|
Beta Was this translation helpful? Give feedback.
-
@langningchen @PythonSmall-Q 今天生命科学一模有一题考 |
Beta Was this translation helpful? Give feedback.
-
生命科学也有一模? |
Beta Was this translation helpful? Give feedback.
-
有啊
… On Jan 5, 2024, at 20:36, Langning Chen ***@***.***> wrote:
@langningchen <https://github.com/langningchen> @PythonSmall-Q <https://github.com/PythonSmall-Q> 今天生命科学一模有一题考 你接种的疫苗里有哪一个是口服的…… 直接爆炸
生命科学也有一模?
—
Reply to this email directly, view it on GitHub <#64 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AULMJZPF2HCA5ABFMCIN2YTYM7XTJAVCNFSM6AAAAAA5RGGFZOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DAMRSG44DG>.
You are receiving this because you were mentioned.
|
Beta Was this translation helpful? Give feedback.
-
@boomzero 我们没有 |
Beta Was this translation helpful? Give feedback.
-
@boomzero 我们没有 |
Beta Was this translation helpful? Give feedback.
-
@boomzero 我们没有 |
Beta Was this translation helpful? Give feedback.
-
为什么github copilot 天天crash: |
Beta Was this translation helpful? Give feedback.
-
@boomzero 因为你用的 Mac |
Beta Was this translation helpful? Give feedback.
-
嗯这里是开发者释放压力的地方
喵呜~
Beta Was this translation helpful? Give feedback.
All reactions