Pagini recente » Borderou de evaluare (job #1381257) | Cod sursa (job #435201) | Borderou de evaluare (job #1144184) | Cod sursa (job #1649366) | Borderou de evaluare (job #1318805)
Borderou de evaluare (job #1318805)
Raport evaluator
Compilare:
user.cpp: In function ‘void dijkstra()’:
user.cpp:28:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < g[x].size(); i++)
^
user.cpp:19:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, k, val, x;
^
user.cpp:19:15: warning: unused variable ‘k’ [-Wunused-variable]
int i, j, k, val, x;
^
user.cpp: In function ‘int main()’:
user.cpp:37:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1,"%d%d",&n,&m);
^
user.cpp:39:61: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1,"%d%d%d",&x,&y,&z), g[x].pb(y), c[x].pb(z);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1452kb | OK | 10 |
| 2 | 0ms | 1456kb | OK | 10 |
| 3 | 0ms | 1500kb | OK | 10 |
| 4 | 4ms | 1516kb | OK | 10 |
| 5 | 28ms | 1928kb | OK | 10 |
| 6 | 52ms | 2356kb | OK | 10 |
| 7 | 72ms | 2596kb | OK | 10 |
| 8 | 80ms | 2920kb | OK | 10 |
| 9 | 296ms | 5252kb | OK | 10 |
| 10 | 384ms | 6284kb | OK | 10 |
| Punctaj total | 100 |