Problem | GSS |
---|---|
User | SMJ360 |
Submission Time | 2024-06-20 11:16:26 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
GSS.cpp: In function ‘int smallest(int, int, int, int)’:
GSS.cpp:6:20: error: ‘min’ cannot be used as a function
6 | min = min(min(a, b), min(c, d));
| ^
GSS.cpp:6:31: error: ‘min’ cannot be used as a function
6 | min = min(min(a, b), min(c, d));
| ^
GSS.cpp:6:32: error: ‘min’ cannot be used as a function
6 | min = min(min(a, b), min(c, d));
| ^
GSS.cpp: In function ‘int main()’:
GSS.cpp:28:27: error: expected primary-expression before ‘)’ token
28 | sort(T, T+N, greater<int>);
| ^
GSS.cpp:29:15: error: request for member ‘size’ in ‘T’, which is of non-class type ‘int [N]’
29 | free_bar = T.size / 4;
| ^~~~
GSS.cpp:32:13: error: ‘i’ was not declared in this scope
32 | first = 4*i;
| ^