码迷,mamicode.com
首页 >  
搜索关键字:for while    ( 28479个结果
实验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, ...
分类:其他好文   时间:2020-11-21 12:31:36    阅读次数:8
java的基本知识技能(二)
If switch do while while for 这些语句什么时候用? 1)、当判断固定个数的值的时候,可以使用if,也可以使用switch。 但是建议使用switch,效率相对较高。 switch(变量){ case 值:要执行的语句;break; … default:要执行的语句; } ...
分类:编程语言   时间:2020-11-21 12:29:33    阅读次数:14
P3899 [湖南集训]谈笑风生
###P3899 [湖南集训]谈笑风生 二维数点问题,主席树模板(两种写法 #include<bits/stdc++.h> #define IL inline #define LL long long #define pb push_back using namespace std; const i ...
分类:其他好文   时间:2020-11-21 12:15:18    阅读次数:7
AOJ 0118 Property Distribution
原题目简介 タナカ氏が HW アールの果樹園を残して亡くなりました。果樹園は東西南北方向に H × W の区画に分けられ、区画ごとにリンゴ、カキ、ミカンが植えられています。タナカ氏はこんな遺言を残していました。 果樹園は区画単位でできるだけ多くの血縁者に分けること。ただし、ある区画の東西南北どれかの ...
分类:其他好文   时间:2020-11-21 11:56:29    阅读次数:4
实验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
实验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
28479条   上一页 1 ... 50 51 52 53 54 ... 2848 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!