2572
Rules: @rulesforthedevs Other @thedevs groups: https://thedevs.network
Mathematicians says that it solved riemann hypothesis 98%
Читать полностью…
4 years before it was hard for them to add 2 big numbers correctly, but now LLMs are solving Riemann Hypothesis
Читать полностью…
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."
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;
}
Читать полностью…
Like, sum_x, sum_y, sum_z might be non-zero while having the combined sum still be zero
Читать полностью…
i had to initialize every int to 0 and it wouldve been bigger so kept it like this and its accepted so W
Читать полностью…
#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;
}
Isn't it skill issue if we don't understand the formal proof written by ai? 🤔
Читать полностью…
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.
Читать полностью…
did it really solve it if no one has any idea how the proof works
Читать полностью…
Yes, also there are a lot of issues where it can't found a pretty basic buffer overflow
Читать полностью…
Does it matter what I can do when LLM's can do the same nowadays :S
Читать полностью…