Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <set>
- #include <fstream>
- #include <string>
- using namespace std;
- int main(){
- int n,f;
- char k;
- string s;
- ifstream in;
- ofstream out;
- in.open("input.txt");
- out.open("output.txt");
- for( int i = 0; i < 1100; i++){
- getline(in, s);
- // cout<<s<<endl;
- for(int j = 0; j < 12; j++){
- if(s[j]=='.'){
- // cout<<s<<endl;
- s.erase(j,1);
- }
- }
- cout<<s<<endl;
- out<<s<<endl;
- }
- in.close();
- out.close();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement