#include<bits/stdc++.h>
using namespace std;
int main()
{
srand(time(0));
int board[15][15] = {};
constexpr int dirs[5] = {0, 1, 0, -1, 0};
while (1) {
for (int i = 0; i < 15; i++) {
for (int j = 0; j < 15; j++) {
littlecoderrr changed 2 years agoView mode Like Bookmark
第一題
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
int main(){
ll a,b,c,d,e;
cin>>a>>b>>c>>d>>e;
if((b+c+d+e)<a){
cout<<b+c+d+e<<endl;
}
littlecoderrr changed 2 years agoView mode Like Bookmark
#include<bits/stdc++.h>
using namespace std;
int main(){
int R,C,k,m,w=0;
int ma=0,mi=99;
int temp[100][100];
int a[100][100];
cin>>R>>C>>k>>m;
for(int i=0;i<R+2;++i){
for(int j=0;j<C+2;++j){
littlecoderrr changed 2 years agoView mode Like 1 Bookmark