代码搜索:Problem
找到约 10,000 项符合「Problem」的源代码
代码结果 10,000
www.eeworm.com/read/486654/6524981
cpp 2012.cpp
/* This Code is Submitted by wywcgs for Problem 2012 on 2005-09-30 at 12:30:57 */
#include
int main()
{
int n, i, ad;
long sum, result;
while(scanf("%d", &n) == 1) {
sum =
www.eeworm.com/read/486654/6524993
cpp 2258.cpp
/* This Code is Submitted by wywcgs for Problem 2258 on 2006-05-29 at 10:26:02 */
#include
#include
const int VN = 1024;
int main()
{
double total[VN] = { 0 };
int n, m
www.eeworm.com/read/484825/6575424
m ispanneal.m
%function [e,f]=ISPanneal(L,s,t,dt,lamda,w,N)
%
%独立集问题(Independent Set Problem)的退火算法
%设有图G=(V,E),要找V的最大独立集,即找最大的V'属于V,
%满足其中的任意两点都不关联
%
%N为问题规模,即节点个数;w为权矩阵
%e为以0、1为元素的数组,来表示两个子集
%lamda是一个大于1的罚
www.eeworm.com/read/484825/6575428
m mcpanneal.m
%function [e,f]=MCPanneal(L,s,t,dt,w,N)
%最大截问题(Max Cut Problem)的退火算法
%由于算法的缺陷,当f值在较长时间内不再改变时,可用cl+c停止程序
%N为问题规模,即节点个数;w为权矩阵
%L可取较大值,如500、1000;
%s取1、2等;t为初始温度,参考范围为0.5--2;
%dt为衰减因子,一般不小于0.9;
%e为
www.eeworm.com/read/484851/6575689
txt readme.txt
README for seismicdecon example supplied with SA Tools.
try_me.m = example driver
decon_init.m = produces a new problem and exposes solution
decon_new.m
www.eeworm.com/read/484493/6577859
m ex31ch2.m
\begin{solution}
The following edited M--file shows only the necessary
modifications for this problem.
Tracing the displacement of the heavier end of the baton as
displayed in the figure generated by
www.eeworm.com/read/482262/6630564
bat test.bat
@echo off
if "%1"=="" goto loop
copy gas%1.in gas.in >nul
echo Problem Test
echo Data %1
gas>gas.out
fc gas.out gas%1.out
del gas.in
del gas.out
pause
goto end
:loop
for %%i in (1 2 3 4 5)
www.eeworm.com/read/482262/6630579
bat test.bat
@echo off
if "%1"=="" goto loop
copy word%1.in word.in >nul
echo Problem Test
echo Data %1
word>word.out
fc word.out word%1.out
del word.in
del word.out
pause
goto end
:loop
for %%i in (1
www.eeworm.com/read/482262/6630593
bat test.bat
@echo off
if "%1"=="" goto loop
copy railway%1.in railway.in >nul
echo Problem Test
echo Data %1
railway>railway.out
fc railway.out railway%1.out
del railway.in
del railway.out
pause
goto en