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 12, 2024 03:27Yuriy LyfenkoYuriy LyfenkoScore: 4,467Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 03:274,404640,806,00912,080,0002,013,0002,260,992
2Jun 12, 2024 03:274,429638,183,15913,160,0001,012,0002,527,232
3Jun 12, 2024 03:274,435642,834,49012,166,0002,027,0002,265,088
4Jun 12, 2024 03:274,439639,413,49213,191,0001,014,0002,260,992
5Jun 12, 2024 03:274,445638,347,00413,208,0001,016,0002,260,992
6Jun 12, 2024 03:274,450639,946,81514,240,00002,523,136
7Jun 12, 2024 03:274,467641,132,54013,273,0001,021,0002,260,992
8Jun 12, 2024 03:274,470646,464,54212,261,0002,043,0002,527,232
9Jun 12, 2024 03:274,583640,609,84312,570,0002,095,0002,523,136
10Jun 12, 2024 03:274,601664,426,92314,723,54602,244,608
11Jun 12, 2024 03:274,621674,697,56514,788,53702,281,472
12Jun 12, 2024 03:274,645701,319,77714,865,32102,289,664