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 listSep 23, 2026 06:22Matthias GörgensMatthias GörgensScore: 45,259Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 23, 2026 06:2344,9921,495,407,3911,483,632,0001,127,0002,117,632stderr
2Sep 23, 2026 06:2345,1471,500,405,4541,488,727,0001,138,0002,117,632stderr
3Sep 23, 2026 06:2345,2371,503,411,4231,490,835,0002,012,0002,117,632stderr
4Sep 23, 2026 06:2345,2511,503,854,3251,492,128,0001,161,0002,117,632stderr
5Sep 23, 2026 06:2345,2591,504,114,3611,492,425,0001,145,0002,117,632stderr
6Sep 23, 2026 06:2345,3131,505,769,3041,494,238,0001,123,0002,117,632stderr
7Sep 23, 2026 06:2345,5471,513,878,1231,501,891,0001,181,0002,117,632stderr
8Sep 23, 2026 06:2345,5841,514,751,6861,503,137,0001,151,0002,117,632stderr
9Sep 23, 2026 06:2345,6371,516,609,7461,504,873,0001,180,0002,117,632stderr