代码搜索:greedy
找到约 308 项符合「greedy」的源代码
代码结果 308
www.eeworm.com/read/390106/8483723
htm greedy.htm
Greedy and Nongreedy Matching in a Regular Expression (Java Developers Almanac Example)
www.eeworm.com/read/287623/8678481
m greedy.m
function [sch,tolval,tolwei]=backpack(maxwei,weight,value)
n=size(weight,2);
sch=zeros(1,n);
p=value./weight;
[a,b]=sort(p);%a从小到大排序后的向量,b是对应元素原始下标
b=b(n:-1:1);tw=0;%已装入背包的物品重量
for i=1:n
if (tw+we
www.eeworm.com/read/384854/8837282
c greedy.c
www.eeworm.com/read/384854/8837302
exe greedy.exe
www.eeworm.com/read/175813/9530518
c greedy.c
/* $Header: /home/jcb/newmj/RCS/greedy.c,v 11.6 2003/03/30 21:33:27 jcb Rel $
* greedy.c
* This is a computer player. Currently offensive only.
* Options not documented.
*/
/****************** COP
www.eeworm.com/read/164259/10120790
cpp greedy.cpp
// greedy.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include
using namespace std;
int partition(double a[],int p,int r,int b[])
{
int i=p,j=
www.eeworm.com/read/354850/10320730
c greedy.c
www.eeworm.com/read/424600/10437031
c greedy.c
www.eeworm.com/read/424600/10437045
exe greedy.exe
www.eeworm.com/read/272208/10965727
dsw greedy.dsw
Microsoft Developer Studio Workspace File, Format Version 6.00
# 警告: 不能编辑或删除该工作区文件!
###############################################################################
Project: "Greedy"=".\Greedy.d