thedevs_c | Unsorted

Telegram-канал thedevs_c - C / C++

2572

Rules: @rulesforthedevs Other @thedevs groups: https://thedevs.network

Subscribe to a channel

C / C++

@TRGWII

Читать полностью…

C / C++

Yep, and this isn't "think"

Читать полностью…

C / C++

The proof is still under scrutiny tho

Читать полностью…

C / C++

Mathematicians says that it solved riemann hypothesis 98%

Читать полностью…

C / C++

I solved the riemann hypothesis guys

Читать полностью…

C / C++

I still don't get it

Читать полностью…

C / C++

4 years before it was hard for them to add 2 big numbers correctly, but now LLMs are solving Riemann Hypothesis

Читать полностью…

C / C++

LLM can do pretty basic shit alone, not a real complex one.

"I'd like to call it my tireless helper, but the AI several times stated flat out that this was impossible and unsolvable and that we should just write a report about it. I suspect those things have been trained by people who may not be quite as stubborn as I am."

Читать полностью…

C / C++

whats a mob to a king? whats a king to a god?

Читать полностью…

C / C++

Manually written one-shot

Читать полностью…

C / C++

typedef struct {
long long x;
long long y;
long long z;
} Vec;

void add(Vec *sum, Vec v) {
sum->x += v.x;
sum->y += v.y;
sum->z += v.z;
}

unsigned is_zero(Vec v) { return v.x == 0 && v.y == 0 && v.z == 0; }

#include <stdio.h>

int main(void) {
Vec sum = {0, 0, 0};
unsigned long long count = 0;
scanf("%llu", &count);
Vec v = {0, 0, 0};
for (unsigned long long i = 0; i < count; i++) {
scanf("%lld%lld%lld", &v.x, &v.y, &v.z);
add(&sum, v);
}
puts(is_zero(sum) ? "YES" : "NO");
return 0;
}

Читать полностью…

C / C++

https://codeforces.com/problemset/problem/69/A

Читать полностью…

C / C++

Like, sum_x, sum_y, sum_z might be non-zero while having the combined sum still be zero

Читать полностью…

C / C++

i had to initialize every int to 0 and it wouldve been bigger so kept it like this and its accepted so W

Читать полностью…

C / C++

#include <stdio.h>
int main()
{
int n;
if((scanf("%d",&n) != 1)) return 0;
int sum_x = 0, sum_y = 0, sum_z = 0;
for(int i = 0; i < n; i++)
{
int tempx, tempy, tempz;
scanf("%d%d%d", &tempx, &tempy, &tempz);
sum_x += tempx;
sum_y += tempy;
sum_z += tempz;
}

if ((sum_x == 0) && (sum_y == 0) && (sum_z == 0)) printf("YES\n");
else printf("NO\n");
return 0;
}

Читать полностью…

C / C++

Cool Lion profile picture.

Читать полностью…

C / C++

Isn't it skill issue if we don't understand the formal proof written by ai? 🤔

Читать полностью…

C / C++

The thing is it can try 10000s of different ways to do it in few minutes and person has to sit and read those things first before trying it... so no nothing new really invented.

Читать полностью…

C / C++

won't tell you how tho

Читать полностью…

C / C++

did it really solve it if no one has any idea how the proof works

Читать полностью…

C / C++

Yes, also there are a lot of issues where it can't found a pretty basic buffer overflow

Читать полностью…

C / C++

Kinda sortof GTA VI vs Vice City

Читать полностью…

C / C++

Does it matter what I can do when LLM's can do the same nowadays :S

Читать полностью…

C / C++

I didn't even compile it

Читать полностью…

C / C++

yours took 92ms mine 124ms

Читать полностью…

C / C++

this is the problem read

Читать полностью…

C / C++

its a 3d vector equilibrium problem

Читать полностью…

C / C++

That doesn't seem semantically the same though heh

Читать полностью…

C / C++

@TRGWII

Читать полностью…

C / C++

and? do it change something?

Читать полностью…
Subscribe to a channel