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 15, 2024 07:54matsuoka-601matsuoka-601Score: 5,475Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2024 07:545,46040,252,25116,444,0001,027,0002,285,568
2Jan 15, 2024 07:545,46032,537,40817,471,00002,523,136
3Jan 15, 2024 07:545,46040,949,15216,445,0001,027,0002,285,568
4Jan 15, 2024 07:545,46343,101,76416,453,0001,028,0002,269,184
5Jan 15, 2024 07:545,46341,372,61817,483,00002,269,184
6Jan 15, 2024 07:545,47136,441,95716,478,0001,029,0002,363,392
7Jan 15, 2024 07:545,47538,674,38716,491,0001,030,0002,285,568
8Jan 15, 2024 07:545,48344,306,76117,545,00002,285,568
9Jan 15, 2024 07:545,48439,411,80616,517,0001,032,0002,285,568
10Jan 15, 2024 07:545,64574,099,31218,063,19202,306,048
11Jan 15, 2024 07:545,65194,604,71218,084,50502,306,048
12Jan 15, 2024 07:545,66081,169,32918,113,07902,306,048