cp-templates's Issues
Infinite loop issue in maxflow.cpp
https://open.kattis.com/problems/whichwarehouse TLEs very often starting at n=m=10 due to infinite looping.
Overflow in RabinKarp fingerprinting code
The newest increase in mod value at
Line 17 in aafd675
causes overflow at these locations
Line 54 in aafd675
Line 60 in aafd675
if used as an oracle ONLY WHEN a[start] and b[end-start+1] are big enough (and similarly for reversehash). This problem does not occur when we take the hash of the whole string, only one character, or sometimes nearly the whole string.
Mod value increase needs to be reverted, and a separate method can be created for non-oracle queries that allow bigger mods for smaller bases.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.