代码搜索:minimum
找到约 5,594 项符合「minimum」的源代码
代码结果 5,594
www.eeworm.com/read/452713/7434675
cpp c9-14.cpp
#include
using namespace std;
template
class Compare
{public:
Compare(numtype a,numtype b)
{x=a;y=b;}
numtype max()
{return (x>y)?x:y;}
numtype min
www.eeworm.com/read/452050/7448741
c 1836699_pe.c
# include
void main()
{
int i, j, n, s, h[100], t;
long sum;
s = 1;
while(1)
{
scanf("%d",&n);
if(!n) break;
printf("Set #%d\n",s++);
sum = 0;
for(i = 0; i < n;
www.eeworm.com/read/452050/7448742
c 1836696_wa.c
# include
void main()
{
int i, j, n, s, h[100], t;
long sum;
s = 1;
while(1)
{
scanf("%d",&n);
if(!n) break;
printf("set #%d\n",s++);
sum = 0;
for(i = 0; i < n;
www.eeworm.com/read/452050/7448743
c 1836702_pe.c
# include
void main()
{
int i, j, n, s, h[100], t;
long sum;
s = 1;
while(1)
{
scanf("%d",&n);
if(!n) break;
sum = 0;
for(i = 0; i < n; i++)
{
scanf("%d"
www.eeworm.com/read/452050/7448744
c 1836704_ac_0ms_24k.c
# include
void main()
{
int i, j, n, s, h[100], t;
long sum;
s = 1;
while(1)
{
scanf("%d",&n);
if(!n) break;
sum = 0;
for(i = 0; i < n; i++)
{
scanf("%d"
www.eeworm.com/read/450546/7482279
cpp c9-14.cpp
#include
using namespace std;
template
class Compare
{public:
Compare(numtype a,numtype b)
{x=a;y=b;}
numtype max()
{return (x>y)?x:y;}
numtype min
www.eeworm.com/read/448826/7525105
txt 049.txt
049
题目:#if #ifdef和#ifndef的综合应用。
程序源代码:
#include "stdio.h"
#define MAX
#define MAXIMUM(x,y) (x>y)?x:y
#define MINIMUM(x,y) (x>y)?y:x
void main()
{ int a=10,b=20;
#ifdef MAX
printf("\40:
www.eeworm.com/read/446971/7562085
cpp template.cpp
// Section 10.1
// $ CC template.cpp
/*
minimum of 10 and 20 is: 10
minimum of 10.3 and 20.6 is: 10.3
*/
#include
using std::cout;
using std::endl;
template
www.eeworm.com/read/443457/7632682
cpp 1326.cpp
#include
using namespace std;
void main()
{
int n,t=0;
while(cin>>n,n){
int i,a[55],s=0,ave,move=0;
for(i=0;i>a[i];
s+=a
www.eeworm.com/read/438832/7725291
sh random-between.sh
#!/bin/bash
# random-between.sh
# 产生两个指定值之间的随机数.
# 由Bill Gradwohl编写, 本书作者做了一些修改.
# 脚本作者允许在这里使用.
randomBetween() {
# 在$min和$max之间,
#+ 产生一个正的或负的随机数.
#+ 并且可以被$divisibleBy所整除.
# 给出一个合理的随机分