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 listNov 24, 2025 13:02caandocaandoScore: 491,244Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 24, 2025 13:02486,90316,107,073,09115,969,871,00097,931,0002,473,984
2Nov 24, 2025 13:02488,74316,159,940,78216,042,577,00085,949,0002,383,872
3Nov 24, 2025 13:02488,91416,171,572,76316,034,203,00099,945,0002,392,064
4Nov 24, 2025 13:02490,46116,218,068,14316,099,273,00085,953,0002,490,368
5Nov 24, 2025 13:02491,24416,245,476,64516,124,110,00086,946,0002,506,752
6Nov 24, 2025 13:02491,79216,271,195,82616,139,178,00089,945,0002,318,336
7Nov 24, 2025 13:02491,97016,273,972,03016,144,079,00090,938,0002,355,200
8Nov 24, 2025 13:02493,38716,323,281,06916,177,832,000103,941,0002,465,792
9Nov 24, 2025 13:02494,09716,344,227,31316,200,278,000104,930,0002,277,376