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 listApr 21, 2026 05:21Charles CabergsCharles CabergsScore: 57,744Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 21, 2026 05:2257,2881,921,672,5671,876,520,00013,988,0002,355,200stderr
2Apr 21, 2026 05:2257,3731,916,587,8131,881,316,00011,995,0002,449,408stderr
3Apr 21, 2026 05:2257,5691,931,837,0291,884,798,00014,990,0002,445,312stderr
4Apr 21, 2026 05:2257,6661,931,406,7131,889,001,00013,992,0002,453,504stderr
5Apr 21, 2026 05:2257,7441,929,698,4401,896,569,0008,993,0002,453,504stderr
6Apr 21, 2026 05:2257,7721,935,862,4671,895,502,00010,997,0002,265,088stderr
7Apr 21, 2026 05:2257,8911,942,521,7501,898,421,00011,996,0002,445,312stderr
8Apr 21, 2026 05:2260,4982,024,644,9061,983,476,00012,990,0002,265,088stderr
9Apr 21, 2026 05:2260,8632,034,699,5841,995,500,00012,990,0002,265,088stderr