Borderou de evaluare (job #3125727)

Utilizator Tibi201eweREWR Tibi201 Data 4 mai 2023 11:27:16
Problema Infinitywar Status done
Runda Arhiva de probleme Compilator c-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:103:9: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 103 | memset(r, 0, sizeof(r)); | ^~~~~~ main.c:4:1: note: include '<string.h>' or provide a declaration of 'memset' 3 | #include <math.h> +++ |+#include <string.h> 4 | unsigned short int p[330000],inceput[55001],batog[234][11001],batog2[234][11001],to; main.c:103:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 103 | memset(r, 0, sizeof(r)); | ^~~~~~ main.c:103:9: note: include '<string.h>' or provide a declaration of 'memset' main.c:56:21: warning: variable 'lastRamasi' set but not used [-Wunused-but-set-variable] 56 | int lastX,lastY,lastRamasi; | ^~~~~~~~~~ main.c:62:18: warning: 'lastY' may be used uninitialized [-Wmaybe-uninitialized] 62 | if(x==lastX&& y==lastY){ | ~~~~~~~~^~~~~~~~~~~ main.c:56:15: note: 'lastY' was declared here 56 | int lastX,lastY,lastRamasi; | ^~~~~ main.c:62:9: warning: 'lastX' may be used uninitialized [-Wmaybe-uninitialized] 62 | if(x==lastX&& y==lastY){ | ^ main.c:56:9: note: 'lastX' was declared here 56 | int lastX,lastY,lastRamasi; | ^~~~~ main.c:63:11: warning: 'ramasi' may be used uninitialized [-Wmaybe-uninitialized] 63 | fprintf(fout, "%d\n", ramasi); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:11:18: note: 'ramasi' was declared here 11 | register int ramasi; | ^~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect0
229ms1220kbIncorect0
3134ms1679kbIncorect0
4601ms4276kbTime limit exceeded0
5601ms4292kbTime limit exceeded0
6601ms4898kbTime limit exceeded0
7601ms6443kbTime limit exceeded0
8601ms7139kbTime limit exceeded0
924ms7495kbKilled by Signal 110
1018ms7536kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?