Pagini recente » Borderou de evaluare (job #1372223) | Borderou de evaluare (job #1692235) | Borderou de evaluare (job #893120) | Borderou de evaluare (job #1164871) | Borderou de evaluare (job #1164837)
Borderou de evaluare (job #1164837)
Raport evaluator
Compilare:
user.cpp: In function ‘void get(int, int&, int&, int&)’:
user.cpp:33:19: warning: NULL used in arithmetic [-Wpointer-arith]
while(s[i] != NULL && isdigit(s[i])) {
^
user.cpp:40:19: warning: NULL used in arithmetic [-Wpointer-arith]
while(s[i] != NULL && isdigit(s[i])) {
^
user.cpp:47:16: warning: NULL used in arithmetic [-Wpointer-arith]
while(s[i] != NULL && isdigit(s[i])) {
^
user.cpp:29:9: warning: unused variable ‘len’ [-Wunused-variable]
int len, i;
^
user.cpp: In function ‘int main()’:
user.cpp:87:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int (*)[1000005]’ [-Wformat=]
scanf("%d\n",&w);
^
user.cpp:91:17: warning: NULL used in arithmetic [-Wpointer-arith]
while(ln[i] != NULL) {
^
user.cpp:79:35: warning: unused variable ‘len’ [-Wunused-variable]
int n, m, i, x, y, num, k, t, len, W, node;
^
user.cpp:79:43: warning: unused variable ‘node’ [-Wunused-variable]
int n, m, i, x, y, num, k, t, len, W, node;
^
user.cpp:111:29: warning: ‘W’ may be used uninitialized in this function [-Wmaybe-uninitialized]
while(!heap.empty() && t <= W && w[t] < heap.top().cost)
^
/tmp/cc7IF2wi.o: In function `main':
user.cpp:(.text.startup+0x85): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 368kb | OK | 4 |
| 2 | 0ms | 380kb | Incorect | 0 |
| 3 | 4ms | 712kb | Incorect | 0 |
| 4 | 4ms | 432kb | Incorect | 0 |
| 5 | 4ms | 684kb | Incorect | 0 |
| 6 | 8ms | 1976kb | Incorect | 0 |
| 7 | 8ms | 1872kb | Incorect | 0 |
| 8 | 8ms | 1868kb | Incorect | 0 |
| 9 | 12ms | 3328kb | Incorect | 0 |
| 10 | 20ms | 6256kb | Incorect | 0 |
| 11 | 0ms | 364kb | Incorect | 0 |
| 12 | 4ms | 404kb | Incorect | 0 |
| 13 | 8ms | 700kb | Incorect | 0 |
| 14 | 60ms | 9032kb | Incorect | 0 |
| 15 | 56ms | 8472kb | Incorect | 0 |
| 16 | 56ms | 8704kb | Incorect | 0 |
| 17 | 36ms | 2960kb | Incorect | 0 |
| 18 | 24ms | 3932kb | Incorect | 0 |
| 19 | 24ms | 4896kb | Incorect | 0 |
| 20 | 28ms | 4784kb | Incorect | 0 |
| 21 | 40ms | 5876kb | Incorect | 0 |
| 22 | 32ms | 6172kb | Incorect | 0 |
| 23 | 48ms | 7676kb | Incorect | 0 |
| 24 | 68ms | 8924kb | Incorect | 0 |
| 25 | 68ms | 8932kb | Incorect | 0 |
| Punctaj total | 4 |