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 listJan 7, 2026 19:55Aman | अमनAman | अमनScore: 199,058Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 7, 2026 19:55197,3646,538,196,6206,373,066,000139,957,0002,502,656
2Jan 7, 2026 19:55197,5596,549,412,2176,382,550,000136,904,0002,506,752
3Jan 7, 2026 19:55198,0156,559,240,1506,414,566,000119,935,0002,494,464
4Jan 7, 2026 19:55198,9776,592,023,9156,433,320,000132,923,0002,502,656
5Jan 7, 2026 19:55199,0586,595,853,0546,427,994,000140,912,0002,392,064
6Jan 7, 2026 19:55199,1346,596,408,0676,441,488,000129,929,0002,359,296
7Jan 7, 2026 19:55199,4716,615,284,2206,453,644,000128,912,0002,416,640
8Jan 7, 2026 19:55200,0956,632,222,2226,486,206,000116,931,0002,502,656
9Jan 7, 2026 19:55206,2486,834,183,5186,671,279,000134,904,0002,498,560