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 listAug 3, 2024 05:34Matt StuchlikMatt StuchlikScore: 4,514Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 27, 2024 16:164,48934,994,46614,366,00002,437,120
2Jul 27, 2024 16:164,49333,629,21414,379,00002,437,120
3Jul 27, 2024 16:164,49635,742,89014,388,00002,535,424
4Jul 27, 2024 16:164,49930,868,15714,398,00002,535,424
5Jul 27, 2024 16:164,50029,213,32314,400,00002,433,024
6Jul 27, 2024 16:164,50035,834,26114,400,00002,433,024
7Jul 27, 2024 16:164,50144,301,45014,403,00002,437,120
8Jul 27, 2024 16:164,51431,607,02813,414,0001,031,0002,428,928
9Jul 27, 2024 16:164,51532,147,48313,416,0001,032,0002,433,024
10Jul 27, 2024 16:164,72597,421,28215,120,52002,191,360
11Jul 27, 2024 16:164,74190,640,13615,172,32102,179,072
12Jul 27, 2024 16:164,76269,868,32915,238,68602,187,264
13Aug 3, 2024 05:346,27086,141,11020,062,70502,318,336
14Aug 3, 2024 05:346,27584,934,27920,079,13002,187,264
15Aug 3, 2024 05:346,29475,319,21020,141,17402,322,432