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 7, 2026 17:38anboto1anboto1Error
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 7, 2026 17:39010,809,24801,822,0002,121,728expected "1018892 ", got "aoB@|Luq*%A|NQqbyr4|*hOV#7M9s#|brECcPh|MrxqCYqC|u@n*YKQ|bN%*ej7DO|5KKIyXT34Jv|NA0hb|OdYr#t#pRwMwDb|xESaSz4VM8Savq|K%@kbH1Pa|nZ0#65|jHJIxg9BCesPg4H|KBQz%5P|5KNd2qv%vmh|fLi@TOD|0ur|4%A8QcL#W3lq8E|#CKab|w4FDq9@vOJrLvOD|6JEk#Ld*Gp...
2Jun 7, 2026 17:39011,244,03901,826,0002,121,728expected "1025284 ", got "Qjnx|245yJlk|dqTNmkt6KadPVpm|BBcCqZHn|X8Z36aiP|eVczt7ldRbCnpn|OmKTW|EMzeSp3uDHbdQ7D|MuBR6Jw|#ZJP|BWaUW|bvXN3D|6GR9vfd03@|Auv8QeJRmJg0rb7|*Vfxf|SG4Dv%IJ|7vpJE*|Pp0|wvebya|rFG@Z3Fy|SAtGbZ00Y8r|mYmmEJ|vcL2h|6JKAYK6fjSa|3XU@|p@S76...
3Jun 7, 2026 17:39010,841,91701,830,0002,121,728expected "1021752 ", got "ZjHZ633IIkS|Un1nz9j|lWIiLbjGNva0dA|GpxcXIe|8UcWi3|mFNIJJozxPC*oV@|3TJT6EZ%|imJAGpuc7rVt|qpfkswb#J7|bbP1w|G2Ir5Ut|AiZQkiSlEC|D0Icwn9Kd|xNSG|7HaA|fy#RIVRRjvJH2k|LbMd9JFtcx|TLR6mhCw4W8mhlK|MIJ31nexyOXi|zCQSE1|bzBqKCLgDuQ|JNzteayK...