Pagini recente »
Borderou de evaluare (job #501709)
|
Borderou de evaluare (job #322676)
|
Borderou de evaluare (job #26594)
|
Borderou de evaluare (job #445592)
|
Borderou de evaluare (job #626658)
Borderou de evaluare (job #626658)
Raport evaluator
Compilare:
main.cpp: In function 'void getTransposeGraph(std::vector<std::vector<int> >&, std::vector<std::vector<int> >&)':
main.cpp:42:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'unsigned int'} [-Wsign-compare]
42 | for (int u = 0; u < adj.size(); u++) {
| ~~^~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:106:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
106 | freopen("matroid.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:107:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
107 | freopen("matroid.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:114:22: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
114 | scanf("%d %d",&x,&y);
| ~~~~~^~~~~~~~~~~~~~~
In function 'void dfs_helper(int, std::vector<std::vector<int> >&, bool*)',
inlined from 'std::vector<int> findAllMotherVertices(std::vector<std::vector<int> >&)' at main.cpp:72:15:
main.cpp:28:18: warning: '((bool*)visited)[-1]' may be used uninitialized [-Wmaybe-uninitialized]
28 | if (visited[u])
| ~~~~~~~~~^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
114 kb
|
OK
|
10
|
2
|
1 ms
|
118 kb
|
OK
|
10
|
3
|
1 ms
|
245 kb
|
OK
|
10
|
4
|
94 ms
|
1691 kb
|
OK
|
10
|
5
|
94 ms
|
1818 kb
|
OK
|
10
|
6
|
224 ms
|
3526 kb
|
OK
|
10
|
7
|
345 ms
|
5091 kb
|
OK
|
10
|
8
|
498 ms
|
6799 kb
|
OK
|
10
|
9
|
502 ms
|
7458 kb
|
Time limit exceeded
|
0
|
10
|
504 ms
|
7458 kb
|
Time limit exceeded
|
0
|
Punctaj total
|
80
|