11 条题解

  • 0
    @ 2024-10-30 21:38:34

    #include<bits/stdc++.h> using namespace std; int main(){ int a,b,c; cin>>a>>b; for(int f = 1; f <= a; f ++ ){ for(int w = 1; w <= b; w ++ ){ cin>>c; if(c!=0){ cout<<f<<" "<<w<<" "<<c<<"\n"; } } } return 0; }

    信息

    ID
    1073
    时间
    1000ms
    内存
    128MiB
    难度
    5
    标签
    递交数
    522
    已通过
    212
    上传者