Pagini recente » Borderou de evaluare (job #1460131) | Borderou de evaluare (job #1491783) | Borderou de evaluare (job #1499449) | Borderou de evaluare (job #1083815) | Borderou de evaluare (job #2244169)
Borderou de evaluare (job #2244169)
Raport evaluator
Compilare:
user.cpp: In function ‘void lgput(int (*)[21], int)’:
user.cpp:41:53: warning: ‘sizeof’ on array function parameter ‘a’ will return size of ‘int (*)[21]’ [-Wsizeof-array-argument]
memset(sol, 0, sizeof(sol)); memset(a, 0, sizeof(a));
^
user.cpp:39:22: note: declared here
void lgput(int a[][21], int p) {
^
user.cpp:41:51: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
memset(sol, 0, sizeof(sol)); memset(a, 0, sizeof(a));
^
user.cpp:40:20: warning: unused variable ‘tmp’ [-Wunused-variable]
int sol[21][21], tmp[21][21];
^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 472ms | 1392kb | Incorect | 0 |
2 | 424ms | 1392kb | Incorect | 0 |
3 | 492ms | 1388kb | Incorect | 0 |
4 | 0ms | 1388kb | OK | 5 |
5 | 0ms | 1388kb | OK | 5 |
6 | 0ms | 1392kb | OK | 5 |
7 | Depăşit | 1392kb | Time limit exceeded. | 0 |
8 | 100ms | 1392kb | Incorect | 0 |
9 | 372ms | 1392kb | Incorect | 0 |
10 | Depăşit | 1392kb | Time limit exceeded. | 0 |
11 | 532ms | 1392kb | Incorect | 0 |
12 | 272ms | 1388kb | Incorect | 0 |
13 | 204ms | 1388kb | Incorect | 0 |
14 | Depăşit | 1388kb | Time limit exceeded. | 0 |
15 | 168ms | 1392kb | Incorect | 0 |
16 | 316ms | 1392kb | Incorect | 0 |
17 | 452ms | 1388kb | Incorect | 0 |
18 | Depăşit | 1392kb | Time limit exceeded. | 0 |
19 | 472ms | 1388kb | Incorect | 0 |
20 | Depăşit | 1392kb | Time limit exceeded. | 0 |
Punctaj total | 15 |