Pagini recente » Borderou de evaluare (job #2170051) | Borderou de evaluare (job #2114204) | Borderou de evaluare (job #1490535) | Borderou de evaluare (job #1919508) | Borderou de evaluare (job #2803190)
Borderou de evaluare (job #2803190)
Raport evaluator
Compilare:
main.cpp: In function 'void lee(Coord, int (*)[505])':
main.cpp:35:30: warning: 'sizeof' on array function parameter 'dist' will return size of 'int (*)[505]' [-Wsizeof-array-argument]
35 | memset(dist, INF, sizeof dist);
| ^~~~
main.cpp:33:29: note: declared here
33 | void lee(Coord inceput, int dist[505][505])
| ~~~~^~~~~~~~~~~~~~
main.cpp:35:23: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
35 | memset(dist, INF, sizeof dist);
| ^~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:183:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Coord>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
183 | for(int i=0;i<portale.size();i++)
| ~^~~~~~~~~~~~~~~
main.cpp:200:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Coord>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
200 | for(int i=0;i<portale.size();i++)
| ~^~~~~~~~~~~~~~~
main.cpp:106:9: warning: unused variable 'coloana' [-Wunused-variable]
106 | int coloana=0;
| ^~~~~~~
main.cpp:182:9: warning: unused variable 'poz_portal_maxim2' [-Wunused-variable]
182 | int poz_portal_maxim2;
| ^~~~~~~~~~~~~~~~~
main.cpp:202:9: warning: 'poz_portal_maxim' may be used uninitialized in this function [-Wmaybe-uninitialized]
202 | if(i!=poz_portal_maxim)
| ^~
main.cpp:199:9: warning: 'y_final' may be used uninitialized in this function [-Wmaybe-uninitialized]
199 | int rasp=direct[iesire.linie][iesire.coloana];
| ^~~~
main.cpp:199:9: warning: 'x_final' may be used uninitialized in this function [-Wmaybe-uninitialized]
main.cpp:142:20: warning: 'y_inceput' may be used uninitialized in this function [-Wmaybe-uninitialized]
142 | inceput.coloana=y_inceput;
| ~~~~~~~~~~~~~~~^~~~~~~~~~
main.cpp:141:18: warning: 'x_inceput' may be used uninitialized in this function [-Wmaybe-uninitialized]
141 | inceput.linie=x_inceput;
| ~~~~~~~~~~~~~^~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 184kb | Incorect | 0 |
2 | 1ms | 184kb | OK | 1 |
3 | 61ms | 3047kb | Incorect | 0 |
4 | 86ms | 3457kb | Incorect | 0 |
5 | 18ms | 2756kb | Fiesier de iesire corupt | 0 |
6 | 67ms | 2826kb | OK | 1 |
7 | 70ms | 3342kb | Incorect | 0 |
8 | 1ms | 184kb | Incorect | 0 |
9 | 1ms | 184kb | Incorect | 0 |
10 | 1ms | 184kb | Incorect | 0 |
11 | 14ms | 2404kb | OK | 1 |
12 | 1ms | 184kb | Incorect | 0 |
13 | 1ms | 184kb | Incorect | 0 |
14 | 2ms | 184kb | Incorect | 0 |
15 | 1ms | 184kb | Incorect | 0 |
16 | 1ms | 184kb | Incorect | 0 |
17 | 12ms | 2674kb | OK | 1 |
18 | 56ms | 3104kb | Incorect | 0 |
19 | 91ms | 3354kb | Incorect | 0 |
20 | 28ms | 2777kb | Incorect | 0 |
21 | 106ms | 3350kb | Time limit exceeded | 0 |
22 | 11ms | 2273kb | Incorect | 0 |
23 | 13ms | 2273kb | Incorect | 0 |
24 | 11ms | 2273kb | OK | 1 |
25 | 4ms | 2568kb | Incorect | 0 |
Punctaj total | 5 |