Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listJan 20, 2024 16:28AnSaAnSaScore: 5,279Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 20, 2024 16:285,23333,077,13515,700,0001,046,0002,396,160
2Jan 20, 2024 16:285,27043,120,95414,880,0001,984,0002,396,160
3Jan 20, 2024 16:285,27246,773,59515,877,000992,0002,281,472
4Jan 20, 2024 16:285,27347,197,89014,889,0001,985,0002,281,472
5Jan 20, 2024 16:285,27343,978,68715,882,000992,0002,387,968
6Jan 20, 2024 16:285,27849,050,97215,896,000993,0002,392,064
7Jan 20, 2024 16:285,27936,436,75014,905,0001,987,0002,281,472
8Jan 20, 2024 16:285,28636,528,57615,859,0001,057,0002,277,376
9Jan 20, 2024 16:285,29039,944,98214,937,0001,991,0002,281,472
10Jan 20, 2024 16:285,46591,601,61817,488,63702,244,608
11Jan 20, 2024 16:285,468106,058,73017,498,55402,289,664
12Jan 20, 2024 16:285,50482,437,59517,611,49302,285,568