Pagini recente » Borderou de evaluare (job #2059755) | Borderou de evaluare (job #1582396) | Borderou de evaluare (job #2078227) | Borderou de evaluare (job #2948179) | Borderou de evaluare (job #1164838)
Borderou de evaluare (job #1164838)
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/ccByc6NP.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 | 364kb | OK | 4 |
| 2 | 0ms | 372kb | Incorect | 0 |
| 3 | 4ms | 716kb | Incorect | 0 |
| 4 | 4ms | 428kb | Incorect | 0 |
| 5 | 4ms | 684kb | Incorect | 0 |
| 6 | 8ms | 1972kb | Incorect | 0 |
| 7 | 8ms | 1868kb | Incorect | 0 |
| 8 | 8ms | 1872kb | Incorect | 0 |
| 9 | 12ms | 3336kb | Incorect | 0 |
| 10 | 20ms | 6256kb | Incorect | 0 |
| 11 | 0ms | 360kb | Incorect | 0 |
| 12 | 4ms | 400kb | Incorect | 0 |
| 13 | 8ms | 704kb | Incorect | 0 |
| 14 | 60ms | 9036kb | Incorect | 0 |
| 15 | 60ms | 8472kb | Incorect | 0 |
| 16 | 56ms | 8704kb | Incorect | 0 |
| 17 | 40ms | 2952kb | Incorect | 0 |
| 18 | 24ms | 3936kb | Incorect | 0 |
| 19 | 24ms | 4896kb | Incorect | 0 |
| 20 | 28ms | 4776kb | Incorect | 0 |
| 21 | 40ms | 5880kb | Incorect | 0 |
| 22 | 32ms | 6176kb | Incorect | 0 |
| 23 | 48ms | 7672kb | Incorect | 0 |
| 24 | 68ms | 8924kb | Incorect | 0 |
| 25 | 68ms | 8936kb | Incorect | 0 |
| Punctaj total | 4 |