Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<cstdio>
- #include<cmath>
- using namespace std;
- int mat[100][100],riks[100][100],a,b,e,f;
- int main()
- {
- scanf("%d %d",&a,&b);
- for(int c=0; c<a; c++)
- {
- for(int d=0; d<b; d++)
- scanf("%d",&mat[c][d]);
- }
- scanf("%d %d",&e,&f);
- if(e==b)
- {
- for(int g=0; g<e; g++)
- {
- for(int h=0; h<f; h++)
- scanf("%d",&riks[g][h]);
- }
- }
- else
- for(i=0, )
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement