Pagini recente » Borderou de evaluare (job #3168062) | Cod sursa (job #445310) | Cod sursa (job #2333892) | Borderou de evaluare (job #2978039) | Borderou de evaluare (job #1378977)
Borderou de evaluare (job #1378977)
Raport evaluator
Compilare:
user.cpp: In function ‘int cost(int, int)’:
user.cpp:28:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<G[x].size(); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:68:23: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(IN, stdin);
^
user.cpp:69:25: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(OUT, stdout);
^
user.cpp:70:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &M);
^
user.cpp:73:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x, &y, &c);
^
user.cpp: In function ‘void Dijkstra(int)’:
user.cpp:50:25: warning: ‘ck’ may be used uninitialized in this function [-Wmaybe-uninitialized]
visited[k]=1;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1600kb | OK | 10 |
| 2 | 0ms | 1600kb | OK | 10 |
| 3 | 8ms | 1628kb | OK | 10 |
| 4 | 12ms | 1644kb | OK | 10 |
| 5 | Depăşit | 1896kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 2184kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 2388kb | Time limit exceeded. | 0 |
| 8 | 72ms | 2752kb | OK | 10 |
| 9 | Depăşit | 4276kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 5060kb | Time limit exceeded. | 0 |
| Punctaj total | 50 |