Pagini recente » Borderou de evaluare (job #2094453) | Borderou de evaluare (job #177390) | Borderou de evaluare (job #2479537) | Borderou de evaluare (job #2125825) | Borderou de evaluare (job #2022810)
Borderou de evaluare (job #2022810)
Raport evaluator
Compilare:
user.cpp: In constructor ‘arbint::arbint(int)’:
user.cpp:21:31: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses]
arb = new int[1 << lg + 1];
^
user.cpp: In member function ‘void lant::UpdateAll()’:
user.cpp:79:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i < noduri.size(); ++i)
^
user.cpp: In member function ‘void arbore::BuildPath()’:
user.cpp:118:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < lanturi.size(); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:221:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("heavypath.in", "r", stdin);
^
user.cpp:222:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("heavypath.out", "w", stdout);
^
user.cpp:223:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:226:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &(arb.val[i]));
^
user.cpp:230:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &a, &b);
^
user.cpp:237:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &t, &x, &y);
^
user.cpp: In member function ‘void arbore::DFS(int, int)’:
user.cpp:194:37: warning: ‘ind’ may be used uninitialized in this function [-Wmaybe-uninitialized]
lantNr[current] = lantNr[ind];
^
user.cpp:194:37: warning: ‘ind’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp: In member function ‘void arbore::BuildPath()’:
user.cpp:194:37: warning: ‘ind’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:183:27: note: ‘ind’ was declared here
int maxHeavy = 0, ind;
^
user.cpp:194:37: warning: ‘ind’ may be used uninitialized in this function [-Wmaybe-uninitialized]
lantNr[current] = lantNr[ind];
^
user.cpp:183:27: note: ‘ind’ was declared here
int maxHeavy = 0, ind;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 468kb | OK | 5 | 10 |
| 2 | 0ms | 472kb | OK | 5 |
| 3 | 8ms | 632kb | OK | 5 | 10 |
| 4 | 20ms | 804kb | OK | 5 |
| 5 | 288ms | 5980kb | OK | 5 | 20 |
| 6 | 208ms | 4480kb | OK | 5 |
| 7 | 300ms | 5660kb | OK | 5 |
| 8 | 208ms | 4480kb | OK | 5 |
| 9 | 528ms | 11568kb | OK | 5 | 20 |
| 10 | 292ms | 8704kb | OK | 5 |
| 11 | 548ms | 11180kb | OK | 5 |
| 12 | 272ms | 8704kb | OK | 5 |
| 13 | Depăşit | 14712kb | Time limit exceeded. | 0 | 0 |
| 14 | 540ms | 11608kb | OK | 5 |
| 15 | Depăşit | 15120kb | Time limit exceeded. | 0 |
| 16 | 556ms | 11608kb | OK | 5 |
| 17 | 152ms | Depăşit | Memory limit exceeded. | 0 | 0 |
| 18 | Depăşit | 14596kb | Time limit exceeded. | 0 |
| 19 | 152ms | Depăşit | Memory limit exceeded. | 0 |
| 20 | Depăşit | 14600kb | Time limit exceeded. | 0 |
| Punctaj total | 60 |