码迷,mamicode.com
首页 >  
搜索关键字:while break continue    ( 40024个结果
实验3??🌂叁三
一·#include<stdio.h> #include<math.h> int main() { float a, b, c, x1, x2; float delta, real, imag; printf("Enter a, b, c: "); while(scanf("%f%f%f", &a, ...
分类:其他好文   时间:2020-11-21 11:51:42    阅读次数:3
[2020.11.15]CCPC Final 2019
cf gym 链接 A. Kick Start 简单签到题。 code: #include<bits/stdc++.h> #define pi pair<int,int> #define f first #define s second using namespace std; const stri ...
分类:其他好文   时间:2020-11-21 11:48:03    阅读次数:4
输出第二大数(用数组)
第一种方法:(冒泡排序)核心部分:for(i=0;i<=14;i++)//数组a[15]从零到十四一共十五个数{for(j=0;j<=14-i;j++)//循环一次能排出一个最大值因此需要循环14次,每次循环都有一个数排到最大,故每次减一即14-i.{if(a[j]>=a[j+1]){t=a[j+1];a[j+1]=a[j];a[j]=t;}}}排序好了之后,就把a[1]输出即为
分类:编程语言   时间:2020-11-21 11:43:21    阅读次数:8
将tusimple转换为lanenet-lane-detection可以训练的方式
# -*- coding: utf-8 -*-import cv2import jsonimport numpy as npbase_path = "D:/Personal_Task/A3_ADASProject/Traffic_Line/dataset/train_set/"targetpath ...
分类:Web程序   时间:2020-11-20 12:21:54    阅读次数:33
实验3
实验1#include <math.h> #include <stdio.h> int main() { float a, b, c, x1, x2; float delta, real, imag; printf("Enter a, b, c: "); while(scanf("%f%f%f", ...
分类:其他好文   时间:2020-11-20 12:08:00    阅读次数:9
python 数据库游标,fetchmany(int),边取数据边处理,防止数量量太大撑爆内存
self.cr.execute(sql, ) # res = self.cr.fetchmany(1000) while True: res = self.cr.fetchmany(1000) print(len(res),res) if not res: break return res fetc ...
分类:数据库   时间:2020-11-20 12:06:46    阅读次数:12
[题解]CSP2020-S T4 Snakes
放个代码吧,开个坑 #include<bits/stdc++.h> #define rep(i,a,b) for (register int i=(a);i<=(b);i++) #define drep(i,a,b) for (register int i=(a);i>=(b);i--) typed ...
分类:其他好文   时间:2020-11-20 11:48:09    阅读次数:5
实验3
#include <math.h> #include<stdio.h> int main (){ float a, b, c, x1, x2; float delta, real, imag; printf("Enter a, b, c: "); while(scanf("%f%f%f%f",&a, ...
分类:其他好文   时间:2020-11-20 11:37:01    阅读次数:10
Mac Appium ANDROID_HOME 环境变量问题
macOS 版本:10.15.4 (19E287) appium版本:1.18.3 遇到的问题: 先是报这个:An unknown server-side error occurred while processing the command. Original error: Neither AND ...
分类:移动开发   时间:2020-11-20 11:36:33    阅读次数:50
实验3
#include<math.h> #include<stdio.h> int main(){ float a,b,c,x1,x2; float delta,real,imag; printf("Enter a,b,c:"); while(scanf("%f%f%f",&a,&b,&c) != EOF ...
分类:其他好文   时间:2020-11-20 11:32:25    阅读次数:7
40024条   上一页 1 ... 73 74 75 76 77 ... 4003 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!