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 listOct 21, 2024 12:09Sybrand AarnoutseSybrand AarnoutseScore: 5,525Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 21, 2024 12:095,47544,013,08416,490,0001,030,0002,289,664
2Oct 21, 2024 12:095,50243,533,19216,570,0001,035,0002,535,424
3Oct 21, 2024 12:095,51535,764,67116,609,0001,038,0002,289,664
4Oct 21, 2024 12:095,52049,421,70116,626,0001,039,0002,367,488
5Oct 21, 2024 12:095,52546,612,44917,680,00002,531,328
6Oct 21, 2024 12:095,52745,080,46017,685,00002,289,664
7Oct 21, 2024 12:095,53138,069,56316,658,0001,041,0002,293,760
8Oct 21, 2024 12:095,53650,023,90716,673,0001,042,0002,289,664
9Oct 21, 2024 12:095,58748,897,15715,891,0001,986,0002,289,664