Pagini recente » Borderou de evaluare (job #823090) | Borderou de evaluare (job #1101484) | Borderou de evaluare (job #1077941) | Borderou de evaluare (job #448841) | Borderou de evaluare (job #2423862)
Borderou de evaluare (job #2423862)
Raport evaluator
Compilare:
main.cpp: In function 'void citire(int&, int&)':
main.cpp:6:24: warning: integer overflow in expression [-Woverflow]
#define INT_MAX (1<<31)-1
~~~~~~~^~
main.cpp:25:38: note: in expansion of macro 'INT_MAX'
for(int i=1; i<=n; i++) dis[i] = INT_MAX;
^~~~~~~
main.cpp: In function 'void Dijkstra(int)':
main.cpp:44:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<Muchii[nod].size(); i++) {
~^~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:6:24: warning: integer overflow in expression [-Woverflow]
#define INT_MAX (1<<31)-1
~~~~~~~^~
main.cpp:66:22: note: in expansion of macro 'INT_MAX'
if(dis[i] != INT_MAX)
^~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 1310kb | OK | 10 |
| 2 | 6ms | 1310kb | OK | 10 |
| 3 | 5ms | 1441kb | Incorect | 0 |
| 4 | 7ms | 1441kb | Incorect | 0 |
| 5 | 34ms | 1835kb | Incorect | 0 |
| 6 | 51ms | 2228kb | Incorect | 0 |
| 7 | 90ms | 2564kb | Incorect | 0 |
| 8 | 153ms | 4050kb | OK | 10 |
| 9 | 114ms | 3801kb | OK | 10 |
| 10 | 293ms | 5898kb | Incorect | 0 |
| Punctaj total | 40 |