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