Home
Tasks
School selections
Regionals
Nationals & OIS
Tasks by technique
Tasks by contest
Tasks by year
Ranking
Algobadge
Forum
Italiano
Italiano
English
English
Polski
Polski
Deutsch
Deutsch (beta)
Español
Español (beta)
Français
Français (beta)
Română
Română (beta)
Magyar
Magyar (beta)
Log in / Sign up
Long Chain
Time limit:
0.5 sec
Memory limit:
128 MB
Input/output:
stdin / stdout
Maximum score:
799
Translations:
English
Uploaded on:
17 November 2023
Statement
Attachments
Tags
Stats
Submit
Submissions
Help
Forum posts
Aiuto per il problema
Long Chain
#include < iostream > #include < algorithm > #include < cstring > using namespace std; const int MAXN = 100005; int head_[MAXN], to_[2 * MAXN], next_[2 * MAXN], edge_count = 0; int temp_lengths[MAX...
Triangoli pienotti
Si possono anche ordinare i punti in ordine orario/antiorario non usando gli angoli UPD: È comunque più semplice usare il Monotone Chain… Comunque ricordati di usare long long e non int, in quanto ...
Search other topics
Create new topic