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 listApr 16, 2025 16:07Christian BernardChristian BernardScore: 5,483Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 16, 2025 16:075,42744,904,94016,344,0001,021,0002,523,136
2Apr 16, 2025 16:075,47438,754,73216,488,0001,030,0002,396,160
3Apr 16, 2025 16:075,47537,160,76817,521,00002,379,776
4Apr 16, 2025 16:075,47932,565,56417,532,00002,392,064
5Apr 16, 2025 16:075,48339,632,98316,514,0001,032,0002,260,992
6Apr 16, 2025 16:075,50148,416,04216,569,0001,035,0002,392,064
7Apr 16, 2025 16:075,50448,042,35416,578,0001,036,0002,523,136
8Apr 16, 2025 16:075,50744,348,85316,586,0001,036,0002,523,136
9Apr 16, 2025 16:075,51243,872,25716,601,0001,037,0002,396,160