This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//test/extensions/filters/http/ratelimit:config_test | |
//test/extensions/clusters/dynamic_forward_proxy:cluster_test | |
//test/mocks/grpc:grpc_mocks | |
//test/extensions/filters/http/jwt_authn:filter_config_test | |
//test/extensions/filters/http/buffer:buffer_filter_integration_test | |
//test/integration:idle_timeout_integration_test | |
//test/extensions/filters/network/thrift_proxy:router_test | |
//test/common/http:conn_manager_utility_test | |
//test/common/stream_info:stream_info_impl_test | |
//test/extensions/filters/http/grpc_json_transcoder:json_transcoder_filter_test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import random | |
import argparse | |
import numpy as np | |
import torch | |
import torch.nn as nn | |
import torch.nn.functional as F | |
import torchvision |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
#include<ctype.h> | |
#include<string.h> | |
#include<algorithm> | |
#include<queue> | |
using namespace std; | |
const int inf=~0U>>2; | |
int getint() | |
{ | |
int ret=0;bool ok=false,neg=false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<cstring> | |
#include<algorithm> | |
#include<cstdio> | |
#include<cmath> | |
#include<vector> | |
const double eps=1e-8; | |
using namespace std; | |
struct point{ | |
double x,y;int u; | |
bool operator <(const point&ths)const{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<iostream> | |
#include<cstdio> | |
#include<cstring> | |
#include<algorithm> | |
#include<vector> | |
#define N 500050 | |
using namespace std; | |
struct node{ | |
node*go[26],*fa; | |
int l,num,lcs,nlcs; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<iostream> | |
#include<cstdio> | |
#include<algorithm> | |
#include<cstring> | |
using namespace std; | |
const int N=600000 + 10; | |
struct SAM{ | |
SAM* go[26],*fa; | |
int l; | |
}sam[N],*root,*last; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Source Code | |
Problem: 1509 User: WCMG | |
Memory: 2968K Time: 829MS | |
Language: G++ Result: Accepted | |
Source Code | |
*/ | |
#include<iostream> | |
#include<cstdio> |