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 listJun 5, 2021 00:56evgenikwtevgenikwtScore: 5,452Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2021 00:565,42931,434,33116,352,0001,022,0002,265,088
2Jun 5, 2021 00:565,43141,647,56917,380,00002,265,088
3Jun 5, 2021 00:565,43139,738,38617,380,00002,265,088
4Jun 5, 2021 00:565,43345,563,65417,387,00002,523,136
5Jun 5, 2021 00:565,43541,624,56617,393,00002,379,776
6Jun 5, 2021 00:565,44846,685,31117,434,00002,265,088
7Jun 5, 2021 00:565,45232,699,30416,420,0001,026,0002,265,088
8Jun 5, 2021 00:565,45447,225,00917,452,00002,387,968
9Jun 5, 2021 00:565,48436,804,96416,516,0001,032,0002,486,272
10Jun 5, 2021 00:565,61297,046,78117,959,59602,277,376
11Jun 5, 2021 00:565,62653,861,98518,002,85102,281,472
12Jun 5, 2021 00:565,63569,920,49018,032,74202,273,280