Pagini recente » Borderou de evaluare (job #47598) | Borderou de evaluare (job #1944657) | Borderou de evaluare (job #1127937) | Borderou de evaluare (job #764615) | Borderou de evaluare (job #1633665)
Borderou de evaluare (job #1633665)
Raport evaluator
Compilare:
user.cpp: In function ‘int bfs(int)’:
user.cpp:33:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < vec[node].size(); ++ i)
^
user.cpp: In function ‘void eraseEdge(int, int)’:
user.cpp:44:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < vec[a].size(); ++ i)
^
user.cpp:51:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < vec[b].size(); ++ i)
^
user.cpp: In function ‘int findCommon(std::vector<int>, std::vector<int>)’:
user.cpp:62:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v1.size(); ++ i)
^
user.cpp:63:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < v2.size(); ++ j)
^
user.cpp: In function ‘int bfs(int)’:
user.cpp:39:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:115:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("puzzle2.in", "r", stdin);
^
user.cpp:116:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("puzzle2.out", "w", stdout);
^
user.cpp:118:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i", &n, &m);
^
user.cpp:128:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i", &a, &b);
^
user.cpp:214:9: warning: ‘c’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for (int j = 1; j <= c; ++ j)
^
user.cpp:173:22: warning: ‘r’ may be used uninitialized in this function [-Wmaybe-uninitialized]
sol = new int*[r + 5];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 156ms | 3908kb | OK | 10 | 0 |
2 | 156ms | 3908kb | OK | 10 |
3 | 232ms | 5108kb | OK | 10 |
4 | 0ms | 1460kb | OK | 10 |
5 | 244ms | 5028kb | OK | 10 |
6 | 276ms | 5416kb | Incorect | 0 |
7 | 276ms | 5424kb | Incorect | 0 |
8 | 264ms | 5028kb | OK | 10 |
9 | 256ms | 5040kb | OK | 10 |
10 | 8ms | 1648kb | Incorect | 0 |
Punctaj total | 0 |