第一次构建初始化项目自带的dockerfile,内容如下:
#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.#FROM mcr.microsoft.com/dotnet/aspnet:5.0-buster-slim AS base
#WORKDIR /a…
力扣,https://leetcode.cn/problems/zai-pai-xu-shu-zu-zhong-cha-zhao-shu-zi-lcof/description/ 二分查找,边界问题
solution1
自己的方法,其实不太好
class Solution {public int countTarget(int[] scores, int target) {if (scores.l…