4 条题解
-
1
#include<bits/stdc++.h> using namespace std; int main(){ int m,n,k,arr[30][30]; cin>>m>>n>>k; for(int i=0;i<m;i++){ for(int j=0;j<n;j++){ cin>>arr[i][j]; } } for(int i=0;i<m;i++){ for(int j=0;j<n;j++){ if(arr[i][j]<k) cout<<"0 "; else cout<<"255 "; } cout<<endl; } return 0; } -
1
- 1
信息
- ID
- 572
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 3
- 标签
- 递交数
- 39
- 已通过
- 24
- 上传者

