代码搜索:TLE
找到约 732 项符合「TLE」的源代码
代码结果 732
www.eeworm.com/read/272894/10937270
dpr ex.dpr
{
Method: DP
Notice:
O(N*L) get AC
checking strstring using "if" char by char
O(N*L*K) get TLE
enumerating strstrings O(K) and checking strstring and string O(L)
N is the number of
www.eeworm.com/read/272894/10937456
dpr ex_dbst.dpr
{
Method:
Dynamic BST
TLE at 5
}
program Ural_1316(Input,Output);
const
MaxN=100000;
type
TIndex=Longint;
TBST=array[1..MaxN]of record
Value:TIndex;
Count:TIndex;
Left,Right:T
www.eeworm.com/read/272894/10937462
dpr ex_sbst_discrete.dpr
{
Method:
Static BST based on dispersing value
TLE at 6
}
program Ural_1316(Input,Output);
const
MaxN=100000+1;
type
TIndex=Longint;
TOperation=array[1..MaxN]of record
Command:Char;
www.eeworm.com/read/341404/12085024
cpp 1031.cpp
//dp
//Hint: start station number can be greater than end station number
//almost TLE....
#include
using namespace std;
typedef long long int64;
const int maxN = 10000;
const int max
www.eeworm.com/read/242732/4541308
c sconnect.c
#include "syshdrs.h"
#ifndef NO_SIGNALS
extern volatile Sjmp_buf gNetTimeoutJmp;
extern volatile Sjmp_buf gPipeJmp;
#endif
int
SConnect(int sfd, const struct sockaddr_in *const addr, int tle
www.eeworm.com/read/409921/2223844
c sconnect.c
#include "syshdrs.h"
#ifndef NO_SIGNALS
extern volatile Sjmp_buf gNetTimeoutJmp;
extern volatile Sjmp_buf gPipeJmp;
#endif
int
SConnect(int sfd, const struct sockaddr_in *const addr, int tle
www.eeworm.com/read/272894/10937381
dpr ex.dpr
{
Greed is wrong.
So DFS.
If using SET then ,TLE 4 or more sec.
using variable Remain , run time is 0.437sec.
}
program Ural_1152(Input,Output);
const
MaxValue=MaxLongint;
MaxN=20;
type
www.eeworm.com/read/332249/12770706
cpp 1983.cpp
//1983
#include
#include
#include
#include
using namespace std;
const int MAX = 8;
int n,m,tle;
char mat[MAX][MAX+1];
bool hash[MAX][MAX][2];
struct NOD
www.eeworm.com/read/272894/10937198
dpr ex.dpr
program Ural_1010(Input,Output);
type
TIndex=Longint;
TData=Extended; //note: Int64 can't be used, TLE will be got.
var
N:TIndex;
procedure Main;
var
A,B,Max:TData;
i,Ind:TIndex;
beg