0_0_20778446_11313.cpp: In function 'int min(int, int, int)':
0_0_20778446_11313.cpp:2:27: error: too few arguments to function 'int min(int, int, int)'
return min(a, min(b, c));
^
0_0_20778446_11313.cpp:1:5: note: declared here
int min(int a, int b, int c){
^
0_0_20778446_11313.cpp: In function 'int min(int, int, int, int)':
0_0_20778446_11313.cpp:6:31: error: no matching function for call to 'min(int&, int)'
return min(a, min(b, c, d));
^
0_0_20778446_11313.cpp:6:31: note: candidates are:
0_0_20778446_11313.cpp:1:5: note: int min(int, int, int)
int min(int a, int b, int c){
^
0_0_20778446_11313.cpp:1:5: note: candidate expects 3 arguments, 2 provided
0_0_20778446_11313.cpp:5:5: note: int min(int, int, int, int)
int min(int a, int b, int c, int d){
^
0_0_20778446_11313.cpp:5:5: note: candidate expects 4 arguments, 2 provided
0_0_20778446_11313.cpp: In function 'bool solve(int, int)':
0_0_20778446_11313.cpp:14:23: error: no matching function for call to 'min(int&, int&)'
int x = min(a1, a2);
^
0_0_20778446_11313.cpp:14:23: note: candidates are:
0_0_20778446_11313.cpp:1:5: note: int min(int, int, int)
int min(int a, int b, int c){
^
0_0_20778446_11313.cpp:1:5: note: candidate expects 3 arguments, 2 provided
0_0_20778446_11313.cpp:5:5: note: int min(int, int, int, int)
int min(int a, int b, int c, int d){
^
0_0_20778446_11313.cpp:5:5: note: candidate expects 4 arguments, 2 provided
0_0_20778446_11313.cpp: In function 'int main()':
0_0_20778446_11313.cpp:109:19: error: 'scanf' was not declared in this scope
scanf("%d", &t);
^
0_0_20778446_11313.cpp:113:27: error: 'puts' was not declared in this scope
if(ans) puts("Yes");
^
0_0_20778446_11313.cpp:114:23: error: 'puts' was not declared in this scope
else puts("No");
^
|