Pagini recente » Borderou de evaluare (job #928227) | Borderou de evaluare (job #2246768)
Borderou de evaluare (job #2246768)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:67: warning: variable ‘last_dr’ set but not used [-Wunused-but-set-variable]
int n, k, i, d, in, st, dr, sol, mij, frontier_st, frontier_dr, last_dr, last_st;
^~~~~~~
user.cpp:12:76: warning: variable ‘last_st’ set but not used [-Wunused-but-set-variable]
int n, k, i, d, in, st, dr, sol, mij, frontier_st, frontier_dr, last_dr, last_st;
^~~~~~~
user.cpp:13:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin, "%d%d", &n, &k);
^
user.cpp:15:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin, "%d", &p[i]);
^
user.cpp:12:54: warning: ‘frontier_dr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int n, k, i, d, in, st, dr, sol, mij, frontier_st, frontier_dr, last_dr, last_st;
^~~~~~~~~~~
user.cpp:66:91: warning: ‘frontier_st’ may be used uninitialized in this function [-Wmaybe-uninitialized]
else if (frontier_st == 0 || abs (p[i] - p[frontier_dr]) < abs (p[i] - p[frontier_st])) {
~~~~~~~~~~~~~^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1324kb | Incorect | 0 |
| 2 | 0ms | 1328kb | Incorect | 0 |
| 3 | 0ms | 1320kb | Incorect | 0 |
| 4 | 4ms | 1352kb | Incorect | 0 |
| 5 | 4ms | 1356kb | Incorect | 0 |
| 6 | 4ms | 1352kb | Incorect | 0 |
| 7 | 0ms | 1340kb | Incorect | 0 |
| 8 | 4ms | 1352kb | Incorect | 0 |
| 9 | 76ms | 3504kb | Incorect | 0 |
| 10 | 72ms | 3500kb | Incorect | 0 |
| 11 | 88ms | 3500kb | Incorect | 0 |
| 12 | 76ms | 3500kb | Incorect | 0 |
| 13 | 48ms | 3500kb | Incorect | 0 |
| 14 | 88ms | 3500kb | Incorect | 0 |
| 15 | Depăşit | 4916kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 5124kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 5220kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 5216kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 5216kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 5220kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |