Pagini recente »
Borderou de evaluare (job #378608)
|
Borderou de evaluare (job #720092)
|
Borderou de evaluare (job #783586)
|
Borderou de evaluare (job #713747)
|
Borderou de evaluare (job #736638)
Borderou de evaluare (job #736638)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:85:13: warning: unused variable 'nr' [-Wunused-variable]
85 | int nr, i;
| ^~
main.cpp:85:17: warning: unused variable 'i' [-Wunused-variable]
85 | int nr, i;
| ^
main.cpp:107:26: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
107 | for(int i = 1; i <= cnt_sol; i++){
| ~~^~~~~~~~~~
main.cpp:137:27: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
137 | for (int i = 1; i <= cnt_sol;) { /// serverele din acceasi retea sunt sortate unele langa altele
| ~~^~~~~~~~~~
main.cpp:139:22: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
139 | while (j <= cnt_sol && sol_networks[i] == sol_networks[j])
| ~~^~~~~~~~~~
main.cpp:136:13: warning: unused variable 'sol' [-Wunused-variable]
136 | int sol = 0, no_groups = 0;
| ^~~
main.cpp:77:9: warning: variable 'n' set but not used [-Wunused-but-set-variable]
77 | int n, c;
| ^
main.cpp:78:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
78 | freopen("controlnode.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:79:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
79 | freopen("controlnode.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:80:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
80 | scanf("%d\n", &c);
| ~~~~~^~~~~~~~~~~~
main.cpp:81:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
81 | scanf("%s", s);
| ~~~~~^~~~~~~~~
main.cpp:102:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
102 | scanf("%s", s);
| ~~~~~^~~~~~~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
118 kb
|
OK
|
5
|
|
2
|
1 ms
|
245 kb
|
OK
|
5
|
|
3
|
1 ms
|
245 kb
|
OK
|
5
|
|
4
|
7 ms
|
376 kb
|
OK
|
5
|
|
5
|
9 ms
|
249 kb
|
OK
|
5
|
|
6
|
1 ms
|
245 kb
|
OK
|
5
|
|
7
|
1 ms
|
245 kb
|
OK
|
5
|
|
8
|
1 ms
|
245 kb
|
OK
|
5
|
|
9
|
49 ms
|
319 kb
|
OK
|
5
|
|
10
|
99 ms
|
393 kb
|
OK
|
5
|
|
11
|
99 ms
|
1552 kb
|
OK
|
5
|
|
12
|
117 ms
|
1687 kb
|
OK
|
5
|
|
13
|
119 ms
|
1814 kb
|
OK
|
5
|
|
14
|
49 ms
|
1036 kb
|
OK
|
5
|
|
15
|
89 ms
|
1560 kb
|
OK
|
5
|
|
16
|
902 ms
|
1613 kb
|
OK
|
5
|
|
17
|
1014 ms
|
2015 kb
|
OK
|
5
|
|
18
|
1047 ms
|
1908 kb
|
OK
|
5
|
|
19
|
499 ms
|
1007 kb
|
OK
|
5
|
|
20
|
814 ms
|
1531 kb
|
OK
|
5
|
|
Punctaj total
|
100
|