Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int n,i,j;
- cin>>n;
- int a[n][n];
- for(i=0;i<n;i++)
- {
- for(j=0;i<n;j++)
- {
- char m;
- cin>>m;
- if(m<='a'&&m<='z')
- {
- int x=64-int(m);
- a[i][j]=x;
- }
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement