Pagini recente » Borderou de evaluare (job #1092270) | Borderou de evaluare (job #1118634) | Borderou de evaluare (job #1291164) | Borderou de evaluare (job #3223602) | Borderou de evaluare (job #2461517)
Borderou de evaluare (job #2461517)
Raport evaluator
Compilare:
main.cpp: In function 'void belford(int, int)':
main.cpp:45:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<g[u].size(); i++)
~^~~~~~~~~~~~
main.cpp: In function 'bool dijkstra(int, int)':
main.cpp:67:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<g[u.nod].size(); i++)
~^~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:124:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0; j<g[i].size(); j++)
~^~~~~~~~~~~~
main.cpp:97:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("cmcm.in", "r", stdin);
^
main.cpp:98:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cmcm.out", "w", stdout);
^
main.cpp:100:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &m, &e);
^
main.cpp:102:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x, &y, &z);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 393kb | Corect | 10 |
2 | 3ms | 262kb | Corect | 10 |
3 | 23ms | 2097kb | Corect | 10 |
4 | 21ms | 1966kb | Corect | 10 |
5 | 22ms | 1966kb | Corect | 10 |
6 | 311ms | 4980kb | Corect | 10 |
7 | 280ms | 5242kb | Corect | 10 |
8 | 544ms | 6684kb | Corect | 10 |
9 | 536ms | 6684kb | Corect | 10 |
10 | 553ms | 6684kb | Corect | 10 |
Punctaj total | 100 |