0_0_38918498_21060.cpp: In function 'int main()':
0_0_38918498_21060.cpp:24:20: error: too few arguments to function 'int read(int&)'
24 | cin >> read();
| ~~~~^~
0_0_38918498_21060.cpp:7:5: note: declared here
7 | int read(int &n){
| ^~~~
0_0_38918498_21060.cpp:26:25: error: too few arguments to function 'int read(int&)'
26 | n = read();
| ~~~~^~
0_0_38918498_21060.cpp:7:5: note: declared here
7 | int read(int &n){
| ^~~~
0_0_38918498_21060.cpp:27:25: error: too few arguments to function 'int read(int&)'
27 | s = read();
| ~~~~^~
0_0_38918498_21060.cpp:7:5: note: declared here
7 | int read(int &n){
| ^~~~
0_0_38918498_21060.cpp:29:55: error: too few arguments to function 'int read(int&)'
29 | for(int i = 1; i < n; i++) a[i] = read();
| ~~~~^~
0_0_38918498_21060.cpp:7:5: note: declared here
7 | int read(int &n){
| ^~~~
|