Pagini recente » Borderou de evaluare (job #2384996) | Borderou de evaluare (job #2733071) | Borderou de evaluare (job #171318) | Borderou de evaluare (job #710970) | Borderou de evaluare (job #1481107)
Borderou de evaluare (job #1481107)
Raport evaluator
Compilare:
user.cpp: In member function ‘void GRAPH::Dijkstra(int, std::vector<int>&)’:
user.cpp:40:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<graph[nod.first].size(); i++)
^
user.cpp:50: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:58: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:59: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:61: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:68: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 | 856kb | OK | 10 |
2 | 0ms | 856kb | OK | 10 |
3 | 8ms | 880kb | OK | 10 |
4 | 16ms | 896kb | OK | 10 |
5 | Depăşit | 1184kb | Time limit exceeded. | 0 |
6 | Depăşit | 1504kb | Time limit exceeded. | 0 |
7 | Depăşit | 1684kb | Time limit exceeded. | 0 |
8 | 72ms | 1848kb | OK | 10 |
9 | Depăşit | 3776kb | Time limit exceeded. | 0 |
10 | Depăşit | 4604kb | Time limit exceeded. | 0 |
Punctaj total | 50 |