Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cmath>
- #include <vector>
- #include <queue>
- #include <algorithm>
- #include <string>
- #include <stack>
- #include <set>
- #include <map>
- #define pii pair <int,int>
- using namespace std;
- using ll = long long;
- using ld = long double;
- void cv(vector <int> &v){
- for (auto x: v) cout<<x<<' ';
- cout<<"\n";
- }
- void cvl(vector <ll> &v){
- for (auto x: v) cout<<x<<' ';
- cout<<"\n";
- }
- void cvv(vector <vector <int> > &v){
- for (auto x: v) cv(x);
- cout<<"\n";
- }
- void cc(vector <char> v){
- for (char x: v) cout<<x;
- cout<<"\n\n";
- }
- int main()
- {
- ios::sync_with_stdio(0);
- cin.tie(0);
- cout.tie(0);
- int n,m; cin>>n>>m;
- vector <bool> chk(n, 1), gn(n, 0);
- for (int i = 0; i < n;++i){
- char act; cin>>act;
- vector <char> now(n);
- for (int j =0;j<m;++j){
- char x;// cin>>x;
- //if (x == '0') now[j] = 0;
- //else now[j] = 1;
- cin>>now[j];
- }
- cout<<"act = "<<act<<"\n";
- cout<<"now\n";
- cc(now);
- if (act == '+'){
- continue;
- }
- else{
- continue;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement