OII logo
  • Home
    • School selections
    • Regionals
    • Nationals & OIS
    • Tasks by technique
    • Tasks by contest
    • Tasks by year
  • Ranking
  • Algobadge
  • Forum
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
StatementAttachmentsTagsStatsSubmitSubmissionsHelp

Forum posts

MattiaNee's profile picture
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...
mark03's profile picture
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