Pagini recente » Cod sursa (job #646751) | Borderou de evaluare (job #1391523) | Borderou de evaluare (job #1169518) | Borderou de evaluare (job #1391516) | Borderou de evaluare (job #1568776)
Borderou de evaluare (job #1568776)
Raport evaluator
Compilare:
user.cpp: In function ‘void dijkstra(int)’:
user.cpp:23:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<graf[nod].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:41:37: 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);
^
user.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.out","w",stdout);
^
user.cpp:43:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&N,&M);
^
user.cpp:47:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&from,&to,&c);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 264kb | OK | 10 |
| 2 | 0ms | 264kb | OK | 10 |
| 3 | 8ms | 388kb | OK | 10 |
| 4 | 12ms | 440kb | OK | 10 |
| 5 | 196ms | 1876kb | OK | 10 |
| 6 | Depăşit | 3204kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 4384kb | Time limit exceeded. | 0 |
| 8 | 216ms | 5852kb | OK | 10 |
| 9 | Depăşit | 8396kb | Time limit exceeded. | 0 |
| 10 | 396ms | Depăşit | Memory limit exceeded. | 0 |
| Punctaj total | 60 |