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 listFeb 11, 2026 15:45NicoNicoScore: 98,609Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 11, 2026 15:4597,8543,256,777,4793,211,203,00017,989,0002,412,544
2Feb 11, 2026 15:4597,9503,257,864,3853,210,367,00021,995,0002,342,912
3Feb 11, 2026 15:4598,3633,273,960,9293,227,007,00018,988,0002,281,472
4Feb 11, 2026 15:4598,3933,275,969,1403,228,975,00017,988,0002,281,472
5Feb 11, 2026 15:4598,6093,282,445,2503,231,125,00022,986,0002,281,472
6Feb 11, 2026 15:4598,8363,294,212,0813,247,610,00013,994,0002,281,472
7Feb 11, 2026 15:4598,9153,295,851,9193,244,218,00019,989,0002,502,656
8Feb 11, 2026 15:4599,2023,304,139,6063,251,673,00021,991,0002,412,544
9Feb 11, 2026 15:4599,9183,326,267,1303,283,307,00013,988,0002,281,472