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 29, 2024 19:36Joad NacerJoad NacerScore: 4,341Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 29, 2024 19:364,33648,511,33513,875,00002,428,928
2Nov 29, 2024 19:364,33729,866,50313,877,00002,531,328
3Nov 29, 2024 19:364,33834,570,44012,889,000991,0002,428,928
4Nov 29, 2024 19:364,34036,639,84212,896,000992,0002,269,184
5Nov 29, 2024 19:364,34136,095,30312,898,000992,0002,531,328
6Nov 29, 2024 19:364,34336,264,46113,897,00002,269,184
7Nov 29, 2024 19:364,34634,333,73612,913,000993,0002,424,832
8Nov 29, 2024 19:364,35029,721,94512,925,000994,0002,433,024
9Nov 29, 2024 19:364,41530,535,47813,120,0001,009,0002,514,944