분류토론:동음이의어 문서
이 분류는 동음이의어 관련 문서를 체계적으로 다루기 위한 위키프로젝트 동음이의어의 범위 안에 있습니다. 이 프로젝트에 참여하고 싶으시다면 프로젝트 문서를 방문해 주세요. 프로젝트의 목표와 편집 지침을 확인하거나 토론에 의견을 제시할 수 있습니다. |
using System;
namespace LAST_TEST
{
void main(); // A namespace can be placed within another namespace. namespace x { namespace Subspace { using Microsoft; for i=1,2 do private tpump(i)=0 while time<tlimit do
{
time=time+tstep arrive = 0 call random(seed, U) if U <prarr*tstep then {arrive=1 queue=queue+arrive totarr = totarr + 1}
i=0 while (i < 2) do { i = i + 1 if (tpump(i) > 0.0) then { tpump(i) = tpump(i) - tstep if (tpump(i) < 0.0) then tpump(i) = 0.0
}
if (tpump(i) = 0.0 and queue≠0) then { queue = queue - 1 call poissn(seed, Mean, p) tpump(i) = p
}
}// end of inner while //
totpue=totque+queue print,time,arrive,queue,tpupp(1),tpump(2) } //end of outer while // //while// aveque=toque/(tlimit)// print avgeque, totarr stop}
toque = 0
}
문법이 틀리는것 같은데요. 영 모르겠네요 알려주세요[편집]
문법이 틀리는것 같은데요. 영 모르겠네요 알려주세요 서해영 (토론) 2022년 9월 8일 (목) 14:37 (KST)