Pagini recente »
Borderou de evaluare (job #845277)
Borderou de evaluare (job #845277)
Raport evaluator
Compilare:
main.cpp: In function 'void search(int, bool)':
main.cpp:39:26: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
39 | for(int j = 1; j <= nodes[i][0]; j++){
| ~~^~~~~~~~~~~~~~
main.cpp:47:26: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
47 | if (groups[i][j] == sol_group) /// daca grupa actuala este grupa ce ne intereseaza
| ~~~~~~~~~~~~~^~~~~~~~~~~~
main.cpp:51:26: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
51 | if (groups[i][j] == sol_group)
| ~~~~~~~~~~~~~^~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:173:26: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
173 | for(int i = 1; i <= cnt_sol; i++){
| ~~^~~~~~~~~~
main.cpp:203:27: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
203 | for (int i = 1; i <= cnt_sol;) { /// serverele din acceasi retea sunt sortate unele langa altele
| ~~^~~~~~~~~~
main.cpp:205:22: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
205 | while (j <= cnt_sol && sol_networks[i] == sol_networks[j])
| ~~^~~~~~~~~~
main.cpp:103:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
103 | freopen("ctrlnode.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:104:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
104 | freopen("ctrlnode.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:105:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
105 | scanf("%s", s);
| ~~~~~^~~~~~~~~
main.cpp:122:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
122 | scanf("%s", s);
| ~~~~~^~~~~~~~~
main.cpp:152:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
152 | scanf("%s", s);
| ~~~~~^~~~~~~~~
main.cpp:156:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
156 | scanf("%s", s); /// citim grupa care ne intereseaza
| ~~~~~^~~~~~~~~
main.cpp:166:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
166 | scanf("%d", &c);
| ~~~~~^~~~~~~~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
292 kb
|
OK
|
3
|
|
2
|
1 ms
|
508 kb
|
OK
|
3
|
|
3
|
1 ms
|
508 kb
|
OK
|
3
|
|
4
|
9 ms
|
548 kb
|
OK
|
3
|
|
5
|
4 ms
|
504 kb
|
OK
|
3
|
|
6
|
1 ms
|
508 kb
|
OK
|
3
|
|
7
|
1 ms
|
508 kb
|
OK
|
3
|
|
8
|
9 ms
|
548 kb
|
OK
|
3
|
|
9
|
3 ms
|
508 kb
|
OK
|
3
|
|
10
|
1 ms
|
292 kb
|
OK
|
3
|
|
11
|
1 ms
|
508 kb
|
OK
|
3
|
|
12
|
1 ms
|
292 kb
|
OK
|
3
|
|
13
|
22 ms
|
800 kb
|
OK
|
3
|
|
14
|
8 ms
|
504 kb
|
OK
|
3
|
|
15
|
2 ms
|
508 kb
|
OK
|
3
|
|
16
|
1 ms
|
508 kb
|
OK
|
3
|
|
17
|
1 ms
|
508 kb
|
OK
|
3
|
|
18
|
1 ms
|
508 kb
|
OK
|
3
|
|
19
|
1 ms
|
508 kb
|
OK
|
3
|
|
20
|
2 ms
|
508 kb
|
OK
|
3
|
|
21
|
23 ms
|
548 kb
|
OK
|
3
|
|
22
|
1 ms
|
292 kb
|
OK
|
3
|
|
23
|
14 ms
|
1648 kb
|
OK
|
3
|
|
24
|
237 ms
|
5416 kb
|
OK
|
3
|
|
25
|
46 ms
|
5428 kb
|
OK
|
3
|
|
26
|
112 ms
|
13052 kb
|
OK
|
3
|
|
27
|
157 ms
|
14556 kb
|
OK
|
3
|
|
28
|
303 ms
|
15280 kb
|
OK
|
3
|
|
29
|
379 ms
|
42492 kb
|
OK
|
3
|
|
30
|
411 ms
|
21036 kb
|
OK
|
4
|
|
31
|
112 ms
|
12836 kb
|
OK
|
3
|
|
32
|
126 ms
|
14700 kb
|
OK
|
3
|
|
33
|
303 ms
|
33844 kb
|
OK
|
3
|
|
Punctaj total
|
100
|