Pagini recente » Borderou de evaluare (job #2826177) | Borderou de evaluare (job #446424) | Borderou de evaluare (job #3042572) | Borderou de evaluare (job #2444031) | Borderou de evaluare (job #1096986)
Borderou de evaluare (job #1096986)
Raport evaluator
Compilare:
user.c: In function ‘computeRhombus’:
user.c:81:10: warning: unused variable ‘tempBuffer’ [-Wunused-variable]
char tempBuffer[256][256];
^
user.c:80:15: warning: unused variable ‘k’ [-Wunused-variable]
int i, j, k;
^
user.c:80:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, k;
^
user.c:80:9: warning: unused variable ‘i’ [-Wunused-variable]
int i, j, k;
^
user.c: In function ‘addNode’:
user.c:105:9: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration]
node = malloc(sizeof(nod));
^
user.c:105:16: warning: incompatible implicit declaration of built-in function ‘malloc’ [enabled by default]
node = malloc(sizeof(nod));
^
user.c:117:20: warning: incompatible implicit declaration of built-in function ‘malloc’ [enabled by default]
node = malloc(sizeof(nod));
^
user.c: In function ‘removeNodes’:
user.c:138:9: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration]
free(ultNod);
^
user.c:138:9: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]
user.c: In function ‘main’:
user.c:331:5: warning: passing argument 1 of ‘computeSquares’ from incompatible pointer type [enabled by default]
computeSquares(buffer, n, &squareSize, &squareCount, &rhombusSize, &rhombusCount);
^
user.c:176:6: note: expected ‘const char (*)[256]’ but argument is of type ‘char (*)[256]’
void computeSquares(const char buffer[][256], const int n, int *squareSize, int *squareCount, int *rhombusSize, int *rhombusCount)
^
user.c:318:15: warning: unused variable ‘j’ [-Wunused-variable]
int n, i, j;
^
user.c:318:12: warning: unused variable ‘i’ [-Wunused-variable]
int n, i, j;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 264kb | Incorect | 0 |
2 | 4ms | 292kb | Incorect | 0 |
3 | 8ms | 304kb | Incorect | 0 |
4 | 8ms | 320kb | Incorect | 0 |
5 | 12ms | 320kb | Incorect | 0 |
6 | 12ms | 328kb | Incorect | 0 |
7 | 12ms | 336kb | Incorect | 0 |
8 | 16ms | 344kb | Incorect | 0 |
9 | 12ms | 336kb | Incorect | 0 |
10 | 12ms | 336kb | Incorect | 0 |
Punctaj total | 0 |