We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Has anyone solved this with c++. My output is matching with expected, Still test gets failed. Can anyone suggest what is issue.
int main() {
/* Enter your code here. Read input from STDIN. Print output to STDOUT */
int a;
double b;
string line;
cin>>a;
cin>>b;
getline(cin>>ws, line);
Day 1: Data Types
You are viewing a single comment's thread. Return to all comments →
Has anyone solved this with c++. My output is matching with expected, Still test gets failed. Can anyone suggest what is issue.
int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */
int a; double b; string line; cin>>a; cin>>b; getline(cin>>ws, line);
}