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 listDec 21, 2024 13:21LaihoLaihoScore: 131,376Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 21, 2024 13:21130,0574,317,812,9624,282,887,0008,995,0002,285,568
2Dec 21, 2024 13:21130,1494,328,238,6984,285,907,0008,995,0002,289,664
3Dec 21, 2024 13:21130,3404,331,017,8334,293,242,0007,994,0002,281,472
4Dec 21, 2024 13:21131,0764,352,818,8734,315,525,0009,994,0002,281,472
5Dec 21, 2024 13:21131,3764,364,175,4914,319,430,00015,990,0002,465,792
6Dec 21, 2024 13:21131,5804,377,187,3344,330,157,00011,992,0002,281,472
7Dec 21, 2024 13:21132,1754,390,293,2324,350,778,00010,991,0002,281,472
8Dec 21, 2024 13:21133,5334,439,512,4544,396,598,0009,994,0002,326,528
9Dec 21, 2024 13:21137,4094,567,739,4104,521,517,00012,992,0002,289,664