Borderou de evaluare (job #2843765)

Utilizator Remus.RughinisRemus Rughinis Remus.Rughinis Data 2 februarie 2022 21:45:00
Problema Geometry Status done
Runda Arhiva de probleme Compilator c-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.c:4: warning: "NULL" redefined 4 | #define NULL -10000 | In file included from /usr/include/stdlib.h:31, from main.c:2: /usr/lib/gcc/x86_64-linux-gnu/10/include/stddef.h:395: note: this is the location of the previous definition 395 | #define NULL ((void *)0) | main.c: In function 'main': main.c:84:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 84 | if(b[i] == b[j] && ((cd[i][1]<=cd[j][3] && cd[i][1]>=cd[j][1])) || ((cd[i][3]<=cd[j][3] && cd[i][3]>=cd[j][1]))){ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:89:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 89 | if(cd[j][0] < b[i] && cd[j][2] > b[i] && ((cd[j][1]<=cd[i][3] && cd[j][1]>=cd[i][1])) || ((cd[j][3]<=cd[i][3] && cd[j][3]>=cd[i][1]))){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:94:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 94 | if(cd[i][0] < b[j] && cd[i][2] > b[j] && ((cd[i][1]<=cd[j][3] && cd[i][1]>=cd[j][1])) || ((cd[i][3]<=cd[j][3] && cd[i][3]>=cd[j][1]))){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms184kbIncorect00
22ms184kbIncorect0
32ms184kbIncorect0
42ms184kbIncorect0
52ms184kbIncorect0
62ms184kbIncorect00
711ms200kbIncorect00
811ms253kbIncorect00
911ms200kbIncorect00
1011ms200kbIncorect00
Punctaj total0

Ceva nu functioneaza?