Code: Select all
#include <string>
#include <cstdio>
using namespace std;
......
string name;
...........
int main(){ scanf("%s",name); return 0;}
....
But
Code: Select all
...
cin>>name;
..
Moderator: Board moderators
Code: Select all
#include <string>
#include <cstdio>
using namespace std;
......
string name;
...........
int main(){ scanf("%s",name); return 0;}
....
Code: Select all
...
cin>>name;
..