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 12:36LaihoLaihoScore: 175,853Success
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 12:36174,9605,800,476,7285,761,677,00011,993,0002,281,472
2Dec 21, 2024 12:36174,9885,803,664,3415,766,600,0007,995,0002,281,472
3Dec 21, 2024 12:36175,5715,822,896,6255,781,861,00011,993,0002,359,296
4Dec 21, 2024 12:36175,8015,827,938,8845,790,436,00010,993,0002,281,472
5Dec 21, 2024 12:36175,8535,831,267,4505,794,168,0008,995,0002,363,392
6Dec 21, 2024 12:36175,9585,835,117,7955,794,613,00011,992,0002,400,256
7Dec 21, 2024 12:36176,1545,840,801,4395,800,077,00012,993,0002,392,064
8Dec 21, 2024 12:36176,7795,861,557,0975,821,707,00011,993,0002,293,760
9Dec 21, 2024 12:36177,0275,871,960,2455,827,904,00013,990,0002,277,376