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 4, 2024 17:18Christopher TarryChristopher TarryScore: 5,533Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 4, 2024 17:185,45637,557,45216,432,0001,027,0002,265,088
2Apr 4, 2024 17:185,47839,387,80716,497,0001,031,0002,396,160
3Apr 4, 2024 17:185,48945,174,95016,532,0001,033,0002,265,088
4Apr 4, 2024 17:185,51136,860,68117,635,00002,527,232
5Apr 4, 2024 17:185,52146,112,63416,628,0001,039,0002,265,088
6Apr 4, 2024 17:185,52335,885,02517,672,00002,265,088
7Apr 4, 2024 17:185,53348,505,13516,663,0001,041,0002,387,968
8Apr 4, 2024 17:185,57545,677,22215,859,0001,982,0002,387,968
9Apr 4, 2024 17:185,58443,651,10117,869,00002,392,064
10Apr 4, 2024 17:185,72767,379,60618,327,32902,289,664
11Apr 4, 2024 17:185,73980,723,85418,365,32402,273,280
12Apr 4, 2024 17:185,77393,970,65718,474,27702,289,664