Pagini recente » Borderou de evaluare (job #3176673) | Cod sursa (job #2957166) | Borderou de evaluare (job #2423773) | Borderou de evaluare (job #2622970) | Borderou de evaluare (job #2118864)
Borderou de evaluare (job #2118864)
Raport evaluator
Compilare:
user.cpp: In function ‘void Bellman_ford()’:
user.cpp:33:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
^
user.cpp: In function ‘int dijkstra()’:
user.cpp:55:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:88:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<g[x1].size();i++) u++,poz2[g[x1][i]]=u;
^
user.cpp:103:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<g[nod].size();i++)
^
user.cpp:113:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<g[x1].size();j++)
^
user.cpp:121:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<g[x1].size();i++)
^
user.cpp:73:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("atac2.in","r",stdin);
^
user.cpp:74:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("atac2.out","w",stdout);
^
user.cpp:76:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&n,&m,&u,&x1);
^
user.cpp:79:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:84:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 984kb | OK | 5 |
| 2 | 0ms | 984kb | OK | 5 |
| 3 | 0ms | 1008kb | OK | 5 |
| 4 | 0ms | 1036kb | OK | 5 |
| 5 | 0ms | 1032kb | OK | 5 |
| 6 | 0ms | 1040kb | OK | 5 |
| 7 | 0ms | 1036kb | OK | 5 |
| 8 | 4ms | 1096kb | OK | 5 |
| 9 | 4ms | 1092kb | OK | 5 |
| 10 | 8ms | 1168kb | OK | 5 |
| 11 | 44ms | 1824kb | OK | 5 |
| 12 | 80ms | 2432kb | OK | 5 |
| 13 | 0ms | 1028kb | OK | 5 |
| 14 | 4ms | 1108kb | OK | 5 |
| 15 | 20ms | 1368kb | OK | 5 |
| 16 | 28ms | 1404kb | OK | 5 |
| 17 | 64ms | 1920kb | OK | 5 |
| 18 | 76ms | 1920kb | OK | 5 |
| 19 | 104ms | 2212kb | OK | 5 |
| 20 | 188ms | 2696kb | OK | 5 |
| Punctaj total | 100 |