Unique strings Sergey Svistunov

Count the exact number of unique tokens as fast as possible.

Input

One token per line on STDIN:

JWXcKKaWzvFL5
Rof
3ztCpA
5wHcGN
*UiEMthaTS*g

Output

Print the exact count of unique tokens to STDOUT.

Constraints

  • Character set: 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@#%*
  • Maximum token length: 16
  • Approximately 1,000,000 unique tokens
Back to listOct 30, 2026 23:50Andrew EpsteinAndrew EpsteinScore: 28,004Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 30, 2026 23:5127,770927,761,102910,222,0006,192,0002,121,728stderr
2Oct 30, 2026 23:5127,856930,314,722912,999,0006,281,0002,121,728stderr
3Oct 30, 2026 23:5127,894931,486,843914,265,0006,268,0002,121,728stderr
4Oct 30, 2026 23:5127,960933,755,030916,507,0006,190,0002,121,728stderr
5Oct 30, 2026 23:5128,004935,231,792917,851,0006,281,0002,121,728stderr
6Oct 30, 2026 23:5128,082937,696,312920,272,0006,441,0002,121,728stderr
7Oct 30, 2026 23:5128,239942,921,047925,529,0006,371,0002,121,728stderr
8Oct 30, 2026 23:5128,283944,636,407926,984,0006,371,0002,121,728stderr
9Oct 30, 2026 23:5128,593954,499,981937,241,0006,354,0002,121,728stderr