Pagini recente » Borderou de evaluare (job #1692256) | Borderou de evaluare (job #1372223) | Borderou de evaluare (job #1692235) | Borderou de evaluare (job #893120) | Borderou de evaluare (job #1164871)
Borderou de evaluare (job #1164871)
Raport evaluator
Compilare:
user.cpp: In function ‘void get(int&, int&, int&)’:
user.cpp:33:20: warning: NULL used in arithmetic [-Wpointer-arith]
while(ln[i] != NULL && isdigit(ln[i])) {
^
user.cpp:40:20: warning: NULL used in arithmetic [-Wpointer-arith]
while(ln[i] != NULL && isdigit(ln[i])) {
^
user.cpp:47:17: warning: NULL used in arithmetic [-Wpointer-arith]
while(ln[i] != NULL && isdigit(ln[i])) {
^
user.cpp:29:9: warning: unused variable ‘len’ [-Wunused-variable]
int len, i;
^
user.cpp: In function ‘int main()’:
user.cpp:87:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int (*)[1000005]’ [-Wformat=]
scanf("\n%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/ccw7bkmY.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 | 376kb | Incorect | 0 |
| 3 | 4ms | 716kb | Incorect | 0 |
| 4 | 4ms | 432kb | Incorect | 0 |
| 5 | 4ms | 680kb | Incorect | 0 |
| 6 | 8ms | 1972kb | Incorect | 0 |
| 7 | 8ms | 1868kb | Incorect | 0 |
| 8 | 8ms | 1872kb | Incorect | 0 |
| 9 | 12ms | 3336kb | Incorect | 0 |
| 10 | 24ms | 6260kb | Incorect | 0 |
| 11 | 0ms | 364kb | Incorect | 0 |
| 12 | 4ms | 404kb | Incorect | 0 |
| 13 | 8ms | 708kb | Incorect | 0 |
| 14 | 60ms | 9036kb | Incorect | 0 |
| 15 | 56ms | 8472kb | Incorect | 0 |
| 16 | 56ms | 8708kb | Incorect | 0 |
| 17 | 40ms | 2956kb | Incorect | 0 |
| 18 | 24ms | 3932kb | Incorect | 0 |
| 19 | 24ms | 4896kb | Incorect | 0 |
| 20 | 28ms | 4780kb | Incorect | 0 |
| 21 | 40ms | 5884kb | Incorect | 0 |
| 22 | 36ms | 6172kb | Incorect | 0 |
| 23 | 48ms | 7672kb | Incorect | 0 |
| 24 | 68ms | 8924kb | Incorect | 0 |
| 25 | 68ms | 8932kb | Incorect | 0 |
| Punctaj total | 4 |