Pagini recente »
Borderou de evaluare (job #621957)
Borderou de evaluare (job #621957)
Raport evaluator
Compilare:
main.cpp: In function 'void bfs()':
main.cpp:47:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare]
47 | for(i = 0;i < g[x].size();i++){
| ~~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:58:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
58 | freopen("capitala.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:59:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
59 | freopen("capitala.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:61:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
61 | scanf("%d", &n);
| ~~~~~^~~~~~~~~~
main.cpp:63:12: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
63 | scanf("%d%d", &a, &b);
| ~~~~~^~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
1441 kb
|
OK
|
10
|
2
|
8 ms
|
1437 kb
|
OK
|
10
|
3
|
1 ms
|
1441 kb
|
OK
|
10
|
4
|
1 ms
|
1441 kb
|
OK
|
10
|
5
|
52 ms
|
1961 kb
|
OK
|
10
|
6
|
56 ms
|
1966 kb
|
OK
|
10
|
7
|
164 ms
|
3403 kb
|
OK
|
10
|
8
|
139 ms
|
2748 kb
|
OK
|
10
|
9
|
157 ms
|
4190 kb
|
Memory limit exceeded
|
0
|
10
|
201 ms
|
3407 kb
|
Time limit exceeded
|
0
|
Punctaj total
|
80
|