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 29, 2026 14:40TudyMTudyMScore: 25,232Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 29, 2026 14:4025,022844,599,259799,740,00025,991,0002,297,856
2Apr 29, 2026 14:4025,075844,022,853798,508,00028,982,0002,547,712
3Apr 29, 2026 14:4025,154847,356,394804,138,00025,972,0002,527,232
4Apr 29, 2026 14:4025,218856,287,320805,229,00026,974,0002,539,520
5Apr 29, 2026 14:4025,232848,691,987810,678,00021,991,0002,523,136
6Apr 29, 2026 14:4025,315855,329,336809,430,00025,981,0002,535,424
7Apr 29, 2026 14:4025,457857,413,744816,082,00024,002,0002,531,328
8Apr 29, 2026 14:4025,680870,110,607821,468,00025,983,0002,531,328
9Apr 29, 2026 14:4025,875873,543,916825,937,00027,964,0002,392,064