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 listJun 15, 2024 23:21Joad NacerJoad NacerScore: 7,488Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 15, 2024 23:217,222293,805,209238,317,12602,220,032
2Jun 15, 2024 23:217,326306,079,770241,745,54202,351,104
3Jun 15, 2024 23:217,332269,737,018185,975,00055,992,0002,424,832
4Jun 15, 2024 23:217,356267,296,570184,813,00057,941,0002,269,184
5Jun 15, 2024 23:217,356264,940,375184,820,00057,943,0002,428,928
6Jun 15, 2024 23:217,462276,162,127189,196,00057,059,0002,502,656
7Jun 15, 2024 23:217,488272,199,731188,076,00059,023,0002,469,888
8Jun 15, 2024 23:217,540274,623,249187,856,00060,953,0002,424,832
9Jun 15, 2024 23:217,559283,213,355190,584,00058,871,0002,416,640
10Jun 15, 2024 23:217,574273,309,636190,961,00058,988,0002,428,928
11Jun 15, 2024 23:217,650304,407,925252,439,16202,224,128
12Jun 15, 2024 23:217,694276,413,132196,934,00056,981,0002,523,136