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 3, 2023 11:00Alexander KimAlexander KimScore: 5,642Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 11:005,59044,786,54115,901,0001,987,0002,433,024
2Jan 3, 2023 11:035,59144,934,99315,903,0001,987,0002,347,008
3Jan 3, 2023 11:035,60443,944,67415,940,0001,992,0002,424,832
4Jan 3, 2023 11:035,61234,708,63116,960,000997,0002,437,120
5Jan 3, 2023 11:035,61348,700,88415,966,0001,995,0002,342,912
6Jan 3, 2023 11:005,61743,311,90515,978,0001,997,0002,342,912
7Jan 3, 2023 11:035,61743,643,25615,976,0001,997,0002,342,912
8Jan 3, 2023 11:005,61844,694,03715,982,0001,997,0002,342,912
9Jan 3, 2023 11:035,62443,939,05116,999,000999,0002,293,760
10Jan 3, 2023 11:035,63334,204,69016,023,0002,002,0002,338,816
11Jan 3, 2023 11:005,63548,389,96817,030,0001,001,0002,441,216
12Jan 3, 2023 11:005,64243,029,68016,048,0002,006,0002,433,024
13Jan 3, 2023 11:005,64235,573,48617,051,0001,003,0002,433,024
14Jan 3, 2023 11:005,64439,648,68917,057,0001,003,0002,428,928
15Jan 3, 2023 11:035,64747,025,85217,067,0001,003,0002,441,216
16Jan 3, 2023 11:005,64845,945,07717,071,0001,004,0002,437,120
17Jan 3, 2023 11:005,66346,366,69716,109,0002,013,0002,342,912
18Jan 3, 2023 11:035,66844,265,38716,121,0002,015,0002,449,408
19Jan 3, 2023 11:035,74656,429,87018,387,30102,273,280
20Jan 3, 2023 11:035,75183,154,08918,402,82302,265,088
21Jan 3, 2023 11:005,78979,985,52718,524,12502,256,896
22Jan 3, 2023 11:035,79167,439,42618,532,78602,265,088
23Jan 3, 2023 11:005,79897,944,01118,553,15902,265,088
24Jan 3, 2023 11:005,80389,330,50618,569,72702,256,896