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 listJan 2, 2023 20:44Alexander KimAlexander KimScore: 5,883Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 20:445,79934,696,66017,526,0001,030,0002,334,720
2Jan 2, 2023 20:445,80036,853,69917,528,0001,031,0002,531,328
3Jan 2, 2023 20:445,81244,518,24918,598,00002,334,720
4Jan 2, 2023 20:445,82342,129,71417,598,0001,035,0002,535,424
5Jan 2, 2023 20:445,82444,792,04517,601,0001,035,0002,334,720
6Jan 2, 2023 20:445,83447,468,00817,632,0001,037,0002,334,720
7Jan 2, 2023 20:445,88381,765,86618,826,96802,236,416
8Jan 2, 2023 20:445,89184,786,81318,852,33102,244,608
9Jan 2, 2023 20:445,89845,018,20917,881,000993,0002,334,720
10Jan 2, 2023 20:445,89849,768,22316,889,0001,986,0002,535,424
11Jan 2, 2023 20:445,90543,568,43118,896,00002,334,720
12Jan 2, 2023 20:445,92292,837,73318,949,44102,236,416