代码搜索:Problem
找到约 10,000 项符合「Problem」的源代码
代码结果 10,000
www.eeworm.com/read/266529/11220988
cpp gergovia_naive.cpp
// Problem Wine trading in Gergovia
// Algorithm greedy
// Runtime O(n^2)
// Author Adrian Kuegel
// Date 2006.06.18
#include
#include
#include
u
www.eeworm.com/read/266529/11221008
cpp economic.cpp
// Problem Economic phone calls
// Algorithm Dynamic Programming
// Runtime O(n^2)
// Author Adrian Kuegel
// Date 2006.06.25
#include
#include
#include
www.eeworm.com/read/266529/11221028
cpp homogeneous_random.cpp
// Problem Homogeneous squares
// Author Adrian Kuegel
// Date 2006.07.09
#include
#include
#include
using namespace std;
#define MAXN 1024
int s
www.eeworm.com/read/266380/11228364
htm stringbufferexample.htm
Example
Note: The latest versions of Firefox seem to have fixed the string concatenation problem. If you are using Firefox 1.0 or l
www.eeworm.com/read/411674/11233809
m contents.m
% Kernel machines.
%
% extraction - (dir) Kernel feature extraction.
% preimage - (dir) Pre-image problem for RBF kernel.
%
% diagker - Returns diagonal of kernel matrix.
% dualcov - Dual
www.eeworm.com/read/249070/12524101
cpp iterativerabbit.cpp
int iterativeRabbit(int n)
// Iterative solution to the rabbit problem.
{
// initialize base cases:
int previous = 1; // initially rabbit(1)
int current = 1; // initially rabbit(2)
int ne
www.eeworm.com/read/147693/12538612
pl fig4_9.pl
% Figure 4.9 Program 2 for the eight queens problem.
% solution( Queens) if
% Queens is a list of Y-coordinates of eight non-attacking queens
solution( Queens) :-
permutation( [1,2,
www.eeworm.com/read/334779/12574373
cpp prg15_6g.cpp
// File: prg15_6g.cpp
// the program solves the 8-Queens problem. it prompts the user for
// the starting row for the queen in column 0 and calls the recursive
// backtracking function queens() to
www.eeworm.com/read/334779/12574389
cpp prg15_6.cpp
// File: prg15_6.cpp
// the program solves the 8-Queens problem. it prompts the user for
// the starting row for the queen in column 0 and calls the recursive
// backtracking function queens() to d
www.eeworm.com/read/334229/12616493
makefile
# Makefile for the lawnmower problem
include ../Makefile.ini
TARGET = lawn
OBJS = mower.o lawn.o
CPPFLAGS = $(OVERALLCPPFLAGS) -I$(GPINCLUDE)
LDFLAGS = $(OVERALLLDFLAGS) -L$(GPLIB) -lgp -lm