Java旺

关注

第54期:Codeforces-Round #775 (Div. 2, based on Moscow Open Olympiad in Informatics)

Java旺

关注

阅读 68

2022-03-11

solved: B

​​​​​​A. Game

tags: implementation

solution: 比赛时没有认真读题,理解成了可以无限跨水跳,但是实际题意是只能不超过跳一次。

code: 

#include<bits/stdc++.h>
using namespace std;
void solve(){
	int n,a[110];
	cin>>n;
	for(int i=1;i<=n;i++) cin>>a[i];
	int l=1,r=n;
	while(a[l

相关推荐

互联网码农

Codeforces Round #775 (Div. 2, based on Moscow Open Olympiad in Informatics)

互联网码农 58 0 0

前行的跋涉者

Codeforces Round #775 (Div. 1, based on Moscow Open Olympiad in Informatics)(CF1648)

前行的跋涉者 31 0 0

zhoulujun

Codeforces Round #626 (Div. 2, based on Moscow Open Olympiad in Informatics)(A-C)

zhoulujun 27 0 0

修炼之士

Codeforces Round #775 (Div. 2)

修炼之士 58 0 0

司马吹风

Codeforces Round #433 (Div. 2, based on Olympiad of Metropolises) ABC

司马吹风 62 0 0

八怪不姓丑

第55期:Codeforces-Round #776 (Div. 3)

八怪不姓丑 50 0 0

就是耍帅

Codeforces Round #778 (Div. 1 + Div. 2, based on Technocup 2022 Final Round)

就是耍帅 42 0 0

穆熙沐

Codeforces Round #621 (Div. 1 + Div. 2)

穆熙沐 81 0 0

爱做梦的老巫婆

Codeforces Round #785 (Div. 2)

爱做梦的老巫婆 58 0 0

倚然君

Codeforces Round #768 (Div. 2)

倚然君 55 0 0

精彩评论(0)

0 0 举报