Pagini recente » Borderou de evaluare (job #1871184) | Borderou de evaluare (job #2262044) | Borderou de evaluare (job #2271525) | Borderou de evaluare (job #1871152) | Borderou de evaluare (job #2266763)
Borderou de evaluare (job #2266763)
Raport evaluator
Compilare:
main.cpp: In function 'void dij(int)':
main.cpp:26:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<graph[nod].size();i++)
~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:44:13: warning: unused variable 'j' [-Wunused-variable]
int m,i,j,cost,a,b;
^
main.cpp:42:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.in", "r", stdin);
^
main.cpp:43:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.out", "w", stdout);
^
main.cpp:46:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:49:39: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &a, &b, &cost);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 1310kb | OK | 10 |
| 2 | 5ms | 1310kb | OK | 10 |
| 3 | 7ms | 1310kb | OK | 10 |
| 4 | 8ms | 1441kb | OK | 10 |
| 5 | 29ms | 1806kb | OK | 10 |
| 6 | 56ms | 2285kb | OK | 10 |
| 7 | 72ms | 2592kb | OK | 10 |
| 8 | 184ms | 4222kb | OK | 10 |
| 9 | 124ms | 3735kb | OK | 10 |
| 10 | 345ms | 6094kb | OK | 10 |
| Punctaj total | 100 |