代码搜索:Capacity
找到约 2,190 项符合「Capacity」的源代码
代码结果 2,190
www.eeworm.com/read/436804/7762404
h problem.h
#ifndef PROBLEM_H
#define PROBLEM_H
#include "Control.h"
#include
#include
class PossibleDemand {
public:
int demand_;
double probability_;
};
///The Prob
www.eeworm.com/read/436802/7762425
h problem.h
#ifndef PROBLEM_H
#define PROBLEM_H
#include "Control.h"
#include
#include
class PossibleDemand {
public:
int demand_;
double probability_;
};
///The Prob
www.eeworm.com/read/436800/7762462
h problem.h
#ifndef PROBLEM_H
#define PROBLEM_H
#include "Control.h"
#include
#include
class PossibleDemand {
public:
int demand_;
double probability_;
};
///The Prob
www.eeworm.com/read/333254/12693142
cpp strout.cpp
// strout.cpp -- incore formatting (output)
#include
#include
#include
int main()
{
using namespace std;
ostringstream outstr; // manages a string stream
www.eeworm.com/read/145545/12715048
java scsiharddrive.java
package examples.inner;
/** A class definition to show how it is possible
* to use an inner class as a superclass
*/
public class SCSIHardDrive extends Computer.HardDrive {
private stat
www.eeworm.com/read/326212/13155462
txt readme.txt
Example:
编译:mpicc -o beibao beibao.c -lm
运行:(group_size为处理器个数)
mpirun -np group_size box 这里运行mpirun –np 5 beibao
运行结果:
my_rank 0
knapscack of capacity = 4
Enter number of values:
6
please in
www.eeworm.com/read/136879/13356026
cpp fig20_14.cpp
// Fig. 20.14: fig20_14.cpp
// Testing Standard Library vector class template
#include
#include
using namespace std;
template < class T >
void printVector( const vector<
www.eeworm.com/read/311297/13632719
cpp bagwithreceipts.cpp
//implement file--BagWithReceipts.cpp
//Assignment_01
#include "Receipts.h"
#include
using namespace std;
typedef int Item;
BagWithReceipts::BagWithReceipts(size_t initial_capacity)
{
da
www.eeworm.com/read/302155/13840989
c sarray.c
/* Arrays of C struct's that can grow. Entries can be retrieved
either by integer index, or by string key. */
/* Copyright (C) 1997 Andrew McCallum
Written by: Andrew Kachites McCallum
www.eeworm.com/read/138548/5815514
pm conncache.pm
package LWP::ConnCache;
# $Id: ConnCache.pm,v 1.4 2001/04/20 20:24:42 gisle Exp $
use strict;
use vars qw($VERSION $DEBUG);
$VERSION = "0.01";
sub new {
my($class, %cnf) = @_;
my $total_ca