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 26, 2025 16:30Dmitry YudakovDmitry YudakovScore: 104,576Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 26, 2025 16:30103,3393,439,877,7583,389,194,00020,988,0002,322,432
2Apr 26, 2025 16:30103,7673,451,934,0463,409,329,00014,992,0002,334,720
3Apr 26, 2025 16:30104,1303,465,900,7443,417,314,00018,990,0002,506,752
4Apr 26, 2025 16:30104,3903,477,114,7633,430,867,00013,991,0002,473,984
5Apr 26, 2025 16:30104,5763,482,594,2233,438,032,00012,992,0002,469,888
6Apr 26, 2025 16:30104,7423,489,740,2443,436,501,00019,985,0002,400,256
7Apr 26, 2025 16:30105,1743,498,609,1053,456,737,00013,990,0002,494,464
8Apr 26, 2025 16:30109,3753,641,189,5993,593,391,00015,992,0002,367,488
9Apr 26, 2025 16:30111,6253,712,386,1103,668,628,00014,990,0002,310,144