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 listNov 7, 2024 15:53CountHarebourgCountHarebourgScore: 5,714Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 7, 2024 15:535,65445,986,37516,083,0002,010,0002,265,088
2Nov 7, 2024 15:535,68340,498,23016,165,0002,020,0002,269,184
3Nov 7, 2024 15:535,69440,181,05117,210,0001,012,0002,289,664
4Nov 7, 2024 15:535,71439,753,78616,255,0002,031,0002,265,088
5Nov 7, 2024 15:535,71439,595,31216,255,0002,031,0002,273,280
6Nov 7, 2024 15:535,75738,550,41918,423,00002,392,064
7Nov 7, 2024 15:535,75939,496,50616,382,0002,047,0002,289,664
8Nov 7, 2024 15:535,77439,780,71417,451,0001,026,0002,273,280
9Nov 7, 2024 15:535,79443,495,12317,510,0001,030,0002,289,664