Main.cc: In function ‘int main()’:
Main.cc:10:8: error: ‘a’ was not declared in this scope
cin>>a>>b>>c;
^
Main.cc:10:14: error: ‘c’ was not declared in this scope
cin>>a>>b>>c;
^
Main.cc:16:38: error: ‘d’ was not declared in this scope
long long y=min(b,k+d);
^