更新了许多

This commit is contained in:
OhFengGO
2023-08-23 21:52:51 +08:00
parent 971a1d91d6
commit fc324f936b
197 changed files with 6500 additions and 0 deletions

View File

@ -0,0 +1,30 @@
#include <iostream>
#include <cstring>
#include <cstdio>
#include <iomanip>
using namespace std;
int main(){
int a[100][100],b,c,d=0;
cin >>b>>c;
for(int i=0;i<b;i++){
for(int j=0;j<c;j++){
cin >>a[i][j];
}
}
for(int i=0;i<b;i++){
for(int j=b-1;j>=0;j--){
if(a[i][j]!=0){
cout <<i+1<<" "<<j+1<<" "<<a[i][j];
d++;
cout <<endl;
}
}
if(d==0){
cout <<"empty"<<endl;
}
d=0;
}
return 0;
}