Pagini recente » Borderou de evaluare (job #667857) | Borderou de evaluare (job #270357) | Borderou de evaluare (job #287676) | Borderou de evaluare (job #85608) | Borderou de evaluare (job #2203294)
Borderou de evaluare (job #2203294)
Raport evaluator
Compilare:
user.cpp: In function ‘void Kruskal(int)’:
user.cpp:30:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < vect[start].size(); i++) {
~~^~~~~~~~~~~~~~~~~~~~
user.cpp:44:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < vect[n.dest].size(); i++) {
~~^~~~~~~~~~~~~~~~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:79:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < result.size(); i++) {
~~^~~~~~~~~~~~~~~
user.cpp:83:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < result.size(); i++) {
~~^~~~~~~~~~~~~~~
user.cpp:54:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("apm.in", "r", stdin);
^
user.cpp:55:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("apm.out", "w", stdout);
^
user.cpp:58:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:66:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &x, &y, &length);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1316kb | Corect | 10 |
2 | 0ms | 1316kb | Corect | 10 |
3 | 0ms | 1328kb | Corect | 10 |
4 | 0ms | 1332kb | Corect | 10 |
5 | 0ms | 1348kb | Corect | 10 |
6 | 188ms | 7300kb | Corect | 10 |
7 | 372ms | 10904kb | Corect | 10 |
8 | 64ms | 3636kb | Corect | 10 |
9 | 68ms | 4308kb | Corect | 10 |
10 | 320ms | 10028kb | Corect | 10 |
Punctaj total | 100 |