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 03:33Charles CabergsCharles CabergsScore: 53,796Success
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 03:3453,3171,787,587,2841,749,483,0009,997,0002,265,088stderr
2Apr 21, 2026 03:3453,4571,786,454,6521,752,118,00011,993,0002,478,080stderr
3Apr 21, 2026 03:3453,5991,797,170,7681,755,803,00012,991,0002,453,504stderr
4Apr 21, 2026 03:3453,6161,795,797,6861,758,348,00010,995,0002,473,984stderr
5Apr 21, 2026 03:3453,7961,798,654,2951,762,281,00012,994,0002,441,216stderr
6Apr 21, 2026 03:3453,9951,809,531,0341,768,876,00012,991,0002,285,568stderr
7Apr 21, 2026 03:3456,2191,884,602,5201,842,250,00012,994,0002,265,088stderr
8Apr 21, 2026 03:3456,3641,886,453,8381,844,037,00015,991,0002,457,600stderr
9Apr 21, 2026 03:3456,5751,891,504,1371,856,000,00010,994,0002,281,472stderr