helianthus-xzs

从 Trac 迁移的文章

这是从旧校内 Wiki 迁移的文章,可能存在一些样式问题,您可以向 memset0 反馈。

原文章内容如下:

Look for:
  * the exact constraints (multiple sets are too slow for n=10^6^ :( ) 
  * special cases (n=1?)
  * overflow (ll vs int?)
  * array bounds
  * if you have no idea just guess the appropriate well-known algo instead of doing nothing 

Look for:

  • the exact constraints (multiple sets are too slow for n=106 :( )
  • special cases (n=1?)
  • overflow (ll vs int?)
  • array bounds
  • if you have no idea just guess the appropriate well-known algo instead of doing nothing