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 9, 2026 21:20NicoNicoScore: 226,451Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 9, 2026 21:20225,0607,460,709,2297,390,991,00035,975,0002,355,200
2Feb 9, 2026 21:20225,5157,478,997,1247,403,030,00038,979,0002,314,240
3Feb 9, 2026 21:20225,9797,485,239,4787,415,350,00041,973,0002,420,736
4Feb 9, 2026 21:20226,2537,493,853,0747,426,363,00039,975,0002,498,560
5Feb 9, 2026 21:20226,4517,507,748,0577,443,898,00028,984,0002,527,232
6Feb 9, 2026 21:20226,5657,506,442,7577,440,677,00035,979,0002,379,776
7Feb 9, 2026 21:20227,0317,521,181,2397,456,049,00035,976,0002,383,872
8Feb 9, 2026 21:20227,1447,528,098,6557,463,767,00031,977,0002,424,832
9Feb 9, 2026 21:20227,9137,548,984,2497,489,139,00031,979,0002,486,272