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 23, 2026 00:04Victor MerckléVictor MerckléScore: 168,132Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 23, 2026 00:08157,9895,221,704,2875,167,810,00045,839,0002,121,728stderr
2Jun 23, 2026 00:08158,8165,248,732,8485,196,311,00044,617,0002,117,632stderr
3Jun 23, 2026 00:08159,3115,265,118,3765,211,605,00045,674,0002,117,632stderr
4Jun 23, 2026 00:08167,1925,525,261,4205,469,556,00047,784,0002,117,632stderr
5Jun 23, 2026 00:08168,1325,556,527,5125,503,641,00044,729,0002,117,632stderr
6Jun 23, 2026 00:08169,5765,603,684,8065,551,577,00044,453,0002,117,632stderr
7Jun 23, 2026 00:08169,7205,608,807,4195,555,912,00044,867,0002,117,632stderr
8Jun 23, 2026 00:08173,1825,722,688,7155,669,199,00045,829,0002,117,632stderr
9Jun 23, 2026 00:08174,0385,751,509,0655,698,492,00044,778,0002,117,632stderr