Pagini recente » Borderou de evaluare (job #2694621) | Borderou de evaluare (job #2582524) | Borderou de evaluare (job #2504973) | Borderou de evaluare (job #2155723) | Borderou de evaluare (job #1688365)
Borderou de evaluare (job #1688365)
Raport evaluator
Compilare:
user.cpp: In member function ‘void GRAPH::Dijkstra(int, std::vector<int>&)’:
user.cpp:86:58: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<graph[CurrentNode.first].size(); i++)
^
user.cpp:100:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=2; i<dist.size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:108:39: 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:109:41: 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:111: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:118:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &a, &b, &c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | OK | 10 |
2 | 0ms | 296kb | OK | 10 |
3 | 0ms | 324kb | Incorect | 0 |
4 | 0ms | 336kb | Incorect | 0 |
5 | 0ms | 308kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 328kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 388kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 436kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 456kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 464kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 20 |