代码搜索:answer
找到约 6,541 项符合「answer」的源代码
代码结果 6,541
www.eeworm.com/read/348596/10883529
txt 1950.txt
#include
const char oper[] = { '+', '-', '.' };
char op[20];
int result[]={0,0,1,1,1,1,6,10,11,17,88,162,197,437,1350};
int n;
bool check()
{
int i, ans=0, num[20];
char opt[20]
www.eeworm.com/read/348596/10883636
txt 2537.txt
#include"stdio.h"
double ans[100][10];
int main()
{
int k,n,i,j;
double s,answer;
while( scanf( "%d %d", &k, &n ) == 2 )
{
for( s=1,i=0; i
www.eeworm.com/read/348596/10883783
txt 2564.txt
Problem Id:2564 User Id:fzk
Memory:948K Time:2046MS
Language:C++ Result:Accepted
Source
#include "stdio.h"
#include "string.h"
#include "vector"
using namespace std;
const int size
www.eeworm.com/read/348596/10883818
txt 2298.txt
#include"iostream.h"
#include"math.h"
#include"stdio.h"
#include"fstream.h"
//ofstream out("out.txt");
//#define cout out
struct point
{
double x,y,z;
}p1,p2;
const double pi=3.1415926535
www.eeworm.com/read/273118/10925737
rpt qiangda.rpt
Project Information d:\qiangdaqi\qiangda.rpt
MAX+plus II Compiler Report File
Version 10.0 9/14/2000
Compiled: 12/21/2007 11:13:49
Copyright (C) 1988-2000 Alt
www.eeworm.com/read/418727/10934694
txt 二分法.txt
#include
#include
#define f(x) x*x*x-x-1
main()
{double a=1,b=1.5,x,m;
int k=0;
if(f(a)>0,f(b)0)
printf("no answer!");
else
{printf("k
www.eeworm.com/read/272894/10936860
dpr ex.dpr
{
Trie
}
program Ural_1414(Input,Output);
const
MaxSize=10000*20+100;
type
TIndex=Longint;
PIndex=^TIndex;
TTrie=record
Size:TIndex;
Text:array[1..MaxSize]of Char;
Child,Next:ar
www.eeworm.com/read/272894/10937090
dpr ex2.dpr
{
Greedy
Base on M
}
program Ural_1303(Input,Output);
const
MaxM=5000;
type
TIndex=Longint;
TPointer=array[0..MaxM]of TIndex;
TAnswer=array[1..MaxM]of record
Left,Right:TIndex;
en
www.eeworm.com/read/271165/11005058
txt 马踏棋盘.txt
#include
int a[9][9],answer[9][9];
int positionx[9]={0,1,1,-1,-1,2,2,-2,-2},positiony[9]={0,2,-2,2,-2,1,-1,1,-1};
int i,j,x,y,p,q,b,c,d;
void f1()
{
a[i][j]=0;
for(i=1
www.eeworm.com/read/270992/11013586
m tub.m
%tub.m/created by PJNahin for "Duelling Idiots"(2/19/99)
%This m-file computes the optimal allocation of search boats
%looking for the UNSINKABLE TUB.
%
%
ps=input('Probability a search boat find