- 1
IT Оффтоп #23
Нашли или выдавили из себя код, который нельзя назвать нормальным, на который без улыбки не взглянешь? Не торопитесь его удалять или рефакторить, — запостите его на говнокод.ру, посмеёмся вместе!
0
IT Оффтоп #23
#1: https://govnokod.ru/18142 https://govnokod.xyz/_18142
#2: https://govnokod.ru/18378 https://govnokod.xyz/_18378
#3: https://govnokod.ru/19667 https://govnokod.xyz/_19667
#4: https://govnokod.ru/21160 https://govnokod.xyz/_21160
#5: https://govnokod.ru/21772 https://govnokod.xyz/_21772
#6: https://govnokod.ru/24063 (потёр пидор сракер) https://govnokod.xyz/_24063
#7: https://govnokod.ru/24538 https://govnokod.xyz/_24538
#8: https://govnokod.ru/24815 (потёр пидор сракер) https://govnokod.xyz/_24815
#9: https://govnokod.ru/24867 https://govnokod.xyz/_24867
#10: https://govnokod.ru/25328 https://govnokod.xyz/_25328
#11: https://govnokod.xyz/_25436 https://govnokod.ru/25436 (потёр пидор сракер)
#12: https://govnokod.xyz/_25471
#13: https://govnokod.xyz/_25590 (потёр пидор сракер)
#14: https://govnokod.xyz/_25684
#15: https://govnokod.xyz/_25694
#16: https://govnokod.xyz/_25725
#17: https://govnokod.xyz/_25731
#18: https://govnokod.xyz/_25762
#19: https://govnokod.xyz/_25767
#20: https://govnokod.xyz/_25776
#21: https://govnokod.xyz/_25798
#22: https://govnokod.xyz/_25811
0
Какой шанс сдохнуть от пневмонии в ближайшие 3 месяца?
В Москве началась паника.
Может в запой уйти?
0
Просто оффтоп #27
#1: https://govnokod.ru/20162 https://govnokod.xyz/_20162
#2: https://govnokod.ru/25329 https://govnokod.xyz/_25329
#3: https://govnokod.ru/25415 https://govnokod.xyz/_25415
#4: (vanished) https://govnokod.xyz/_25472
#5: https://govnokod.ru/25693 https://govnokod.xyz/_25693
#6: (vanished) https://govnokod.xyz/_26649
#7: https://govnokod.ru/26672 https://govnokod.xyz/_26672
#8: https://govnokod.ru/26924 https://govnokod.xyz/_26924
#9: https://govnokod.ru/27072 https://govnokod.xyz/_27072
#10: https://govnokod.ru/27086 https://govnokod.xyz/_27086
#11: https://govnokod.ru/27122 https://govnokod.xyz/_27122
#12: https://govnokod.ru/27153 https://govnokod.xyz/_27153
#13: https://govnokod.ru/27159 https://govnokod.xyz/_27159
#14: https://govnokod.ru/27200 https://govnokod.xyz/_27200
#15: https://govnokod.ru/27237 https://govnokod.xyz/_27237
#16: https://govnokod.ru/27282 https://govnokod.xyz/_27282
#17: https://govnokod.ru/27319 https://govnokod.xyz/_27319
#18: https://govnokod.ru/27380 https://govnokod.xyz/_27380
#19: https://govnokod.ru/27500 https://govnokod.xyz/_27500
#20: https://govnokod.ru/27607 https://govnokod.xyz/_27607
#21: https://govnokod.ru/27951 https://govnokod.xyz/_27951
#22: https://govnokod.ru/28076 https://govnokod.xyz/_28076
#23: https://govnokod.ru/28266 https://govnokod.xyz/_28266
#24: https://govnokod.ru/28373 https://govnokod.xyz/_28373
#25: https://govnokod.ru/28474 https://govnokod.xyz/_28474
#26: https://govnokod.ru/28563 https://govnokod.xyz/_28563
0
int main(int argc, char **argv) {
void *vp;
const char *version_str;
if (argc != 2) {
fprintf(stderr, "usage: %s <version>\n", argv[0]);
exit(1);
}
vp = malloc(strlen(argv[1]) + 1);
strcpy(vp, argv[1]);
version_str = check_header(vp);
free(vp);
printf("0.%s\n", version_str);
return 0;
}
Там Беллард с научил вореции программировать на Сишке
https://textsynth.com/playground.html
−1
IT Оффтоп #27
#1: https://govnokod.ru/18142 https://govnokod.xyz/_18142
#2: https://govnokod.ru/18378 https://govnokod.xyz/_18378
#3: https://govnokod.ru/19667 https://govnokod.xyz/_19667
#4: https://govnokod.ru/21160 https://govnokod.xyz/_21160
#5: https://govnokod.ru/21772 https://govnokod.xyz/_21772
#6: https://govnokod.ru/24063 (потёр пидор сракер) https://govnokod.xyz/_24063
#7: https://govnokod.ru/24538 https://govnokod.xyz/_24538
#8: https://govnokod.ru/24815 (потёр пидор сракер) https://govnokod.xyz/_24815
#9: https://govnokod.ru/24867 https://govnokod.xyz/_24867
#10: https://govnokod.ru/25328 https://govnokod.xyz/_25328
#11: https://govnokod.xyz/_25436 https://govnokod.ru/25436 (потёр пидор сракер)
#12: https://govnokod.xyz/_25471
#13: https://govnokod.xyz/_25590 (потёр пидор сракер)
#14: https://govnokod.xyz/_25684
#15: https://govnokod.xyz/_25694
#16: https://govnokod.xyz/_25725
#17: https://govnokod.xyz/_25731
#18: https://govnokod.xyz/_25762
#19: https://govnokod.xyz/_25767
#20: https://govnokod.xyz/_25776
#21: https://govnokod.xyz/_25798
#22: https://govnokod.xyz/_25811
#23: https://govnokod.xyz/_25863
#24: https://govnokod.xyz/_25941
#25: https://govnokod.xyz/_26026
#26: https://govnokod.xyz/_26050/
+158
private void OnLabelClick(object sender, EventArgs eventArgs)
{
for (int End = 0; End < 1; End++)
{
if (((Label)sender).Text == "-")
{
((Label)sender).Text = "X";
var labels = Controls.OfType<Label>().ToList();
for (int i = 0; i < labels.Count; i++)
{
int a = 0;
bool win = false;
if (labels[i].Text == "X")
{
for (int Low = 0, Up = 7; (Low <= 108) & (Up <= 115); Low += 12, Up += 12)
if ((i >= Low) & (i <= Up))
{
a = 0;
for (int l = 0; l < 5; l++)
if (labels[i + l].Text == "X")
{
a += 1;
if ((l == 4) & (a != 5)) a = 0;
}
else a = 0;
if (a == 5) goto End;
}
if (i <= 71)
{
a = 0;
for (int l = 0; l <= 12 * 4; l += 12)
if (labels[i + l].Text == "X")
{
a += 1;
if ((l == 12 * 5) & (a != 5)) a = 0;
}
else a = 0;
if (a == 5) goto End;
}
for (int Low = 0, Up = 7; (Low <= 60) & (Up <= 67); Low += 12, Up += 12)
if ((i >= Low) & (i <= Up))
{
a = 0;
for (int l = 0; l <= 13 * 4; l += 13)
if (labels[i + l].Text == "X")
{
a += 1;
if ((l == 13 * 5) & (a != 5)) a = 0;
}
else a = 0;
if (a == 5) goto End;
}
for (int Low = 4, Up = 11; (Low <= 64) & (Up <= 71); Low += 12, Up += 12)
if ((i >= Low) & (i <= Up))
{
a = 0;
for (int l = 0; l <= 11 * 4; l += 11)
if (labels[i + l].Text == "X")
{
a += 1;
if ((l == 11 * 5) & (a != 5)) a = 0;
}
else a = 0;
if (a == 5) goto End;
}
}
End: if (a == 5)
{
MessageBox.Show("You Win!");
a = 0;
EndAll = true;
goto EndAll;
}
}
(C) http://gordon.ucoz.com/publ
Автор Я, сайт мой.
Это не полный код!
−2
Электрика / электроника #1
0
IT Оффтоп #39
#5: https://govnokod.ru/21772 https://govnokod.xyz/_21772
#6: (vanished) https://govnokod.xyz/_24063
#7: https://govnokod.ru/24538 https://govnokod.xyz/_24538
#8: (vanished) https://govnokod.xyz/_24815
#9: https://govnokod.ru/24867 https://govnokod.xyz/_24867
#10: https://govnokod.ru/25328 https://govnokod.xyz/_25328
#11: (vanished) https://govnokod.xyz/_25436
#12: (vanished) https://govnokod.xyz/_25471
#13: (vanished) https://govnokod.xyz/_25590
#14: https://govnokod.ru/25684 https://govnokod.xyz/_25684
#15: https://govnokod.ru/25694 https://govnokod.xyz/_25694
#16: https://govnokod.ru/25725 https://govnokod.xyz/_25725
#17: https://govnokod.ru/25731 https://govnokod.xyz/_25731
#18: https://govnokod.ru/25762 https://govnokod.xyz/_25762
#19: https://govnokod.ru/25767 https://govnokod.xyz/_25767
#20: https://govnokod.ru/25776 https://govnokod.xyz/_25776
#21: https://govnokod.ru/25798 https://govnokod.xyz/_25798
#22: https://govnokod.ru/25811 https://govnokod.xyz/_25811
#23: https://govnokod.ru/25863 https://govnokod.xyz/_25863
#24: https://govnokod.ru/25941 https://govnokod.xyz/_25941
#25: https://govnokod.ru/26026 https://govnokod.xyz/_26026
#26: https://govnokod.ru/26050 https://govnokod.xyz/_26050
#27: https://govnokod.ru/26340 https://govnokod.xyz/_26340
#28: https://govnokod.ru/26372 https://govnokod.xyz/_26372
#29: https://govnokod.ru/26385 https://govnokod.xyz/_26385
#30: https://govnokod.ru/26413 https://govnokod.xyz/_26413
#31: https://govnokod.ru/26423 https://govnokod.xyz/_26423
#32: https://govnokod.ru/26440 https://govnokod.xyz/_26440
#33: https://govnokod.ru/26449 https://govnokod.xyz/_26449
#34: https://govnokod.ru/26456 https://govnokod.xyz/_26456
#35: https://govnokod.ru/26463 https://govnokod.xyz/_26463
#36: https://govnokod.ru/26508 https://govnokod.xyz/_26508
#37: https://govnokod.ru/26524 https://govnokod.xyz/_26524
#38: https://govnokod.ru/26539 https://govnokod.xyz/_26539
+1
Питушня #19
#1: https://govnokod.ru/26692 https://govnokod.xyz/_26692
#2: https://govnokod.ru/26891 https://govnokod.xyz/_26891
#3: https://govnokod.ru/26893 https://govnokod.xyz/_26893
#4: https://govnokod.ru/26935 https://govnokod.xyz/_26935
#5: (vanished) https://govnokod.xyz/_26954
#6: (vanished) https://govnokod.xyz/_26956
#7: https://govnokod.ru/26964 https://govnokod.xyz/_26964
#8: https://govnokod.ru/26966 https://govnokod.xyz/_26966
#9: https://govnokod.ru/27017 https://govnokod.xyz/_27017
#10: https://govnokod.ru/27045 https://govnokod.xyz/_27045
#11: https://govnokod.ru/27058 https://govnokod.xyz/_27058
#12: https://govnokod.ru/27182 https://govnokod.xyz/_27182
#13: https://govnokod.ru/27260 https://govnokod.xyz/_27260
#14: https://govnokod.ru/27343 https://govnokod.xyz/_27343
#15: https://govnokod.ru/27353 https://govnokod.xyz/_27353
#16: https://govnokod.ru/27384 https://govnokod.xyz/_27384
#17: https://govnokod.ru/27482 https://govnokod.xyz/_27482
#18: https://govnokod.ru/27514 https://govnokod.xyz/_27514
+1
error[E0277]: the trait bound `Filtered<tracing_subscriber::fmt::Layer<Layered<OpenTelemetryLayer<Layered<Filtered<tracing_subscriber::fmt::Layer<Layered<Box<dyn tracing_subscriber::Layer<Registry> + Send + Sync>, Registry>, Pretty, tracing_subscriber::fmt::format::Format<Pretty>>, tracing_subscriber::reload::Layer<EnvFilter, Layered<Box<dyn tracing_subscriber::Layer<Registry> + Send + Sync>, Registry>>, Layered<Box<dyn tracing_subscriber::Layer<Registry> + Send + Sync>, Registry>>, Layered<Box<dyn tracing_subscriber::Layer<Registry> + Send + Sync>, Registry>>, opentelemetry::sdk::trace::tracer::Tracer>, Layered<Filtered<tracing_subscriber::fmt::Layer<Layered<Box<dyn tracing_subscriber::Layer<Registry> + Send + Sync>, Registry>, Pretty, tracing_subscriber::fmt::format::Format<Pretty>>, tracing_subscriber::reload::Layer<EnvFilter, Layered<Box<dyn tracing_subscriber::Layer<Registry> + Send + Sync>, Registry>>, Layered<Box<dyn tracing_subscriber::Layer<Registry> + Send + Sync>, Registry>>, Layered<Box<dyn tracing_subscriber::Layer<Registry> + Send + Sync>, Registry>>>, Pretty, tracing_subscriber::fmt::format::Format<Pretty>, fn() -> Stderr {stderr}>, EnvFilter, Layered<OpenTelemetryLayer<Layered<Filtered<tracing_subscriber::fmt::Layer<Layered<Box<dyn tracing_subscriber::Layer<Registry> + Send + Sync>, Registry>, Pretty, tracing_subscriber::fmt::format::Format<Pretty>>, tracing_subscriber::reload::Layer<EnvFilter, Layered<Box<dyn tracing_subscriber::Layer<Registry> + Send + Sync>, Registry>>, Layered<Box<dyn tracing_subscriber::Layer<Registry> + Send + Sync>, Registry>>, Layered<Box<dyn tracing_subscriber::Layer<Registry> + Send + Sync>, Registry>>, opentelemetry::sdk::trace::tracer::Tracer>, Layered<Filtered<tracing_subscriber::fmt::Layer<Layered<Box<dyn tracing_subscriber::Layer<Registry> + Send + Sync>, Registry>, Pretty, tracing_subscriber::fmt::format::Format<Pretty>>, tracing_subscriber::reload::Layer<EnvFilter, Layered<Box<dyn tracing_subscriber::Layer<Registry> + Send + Sync>, Registry>>, Layered<Box<dyn tracing_subscriber::Layer<Registry> + Send + Sync>, Registry>>, Layered<Box<dyn tracing_subscriber::Layer<Registry> + Send + Sync>, Registry>>>>: tracing_subscriber::Layer<Registry>` is not satisfied