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 10:56Alexander KimAlexander KimScore: 5,637Success
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 10:565,59235,248,36516,900,000994,0002,445,312
2Jan 3, 2023 10:565,59439,545,95315,912,0001,989,0002,347,008
3Jan 3, 2023 10:565,59636,958,46515,918,0001,989,0002,441,216
4Jan 3, 2023 11:005,59743,305,34215,921,0001,990,0002,342,912
5Jan 3, 2023 11:005,60134,887,09216,927,000995,0002,428,928
6Jan 3, 2023 11:005,60642,222,31915,947,0001,993,0002,433,024
7Jan 3, 2023 11:005,61344,550,25416,965,000997,0002,342,912
8Jan 3, 2023 11:005,61847,371,91316,978,000998,0002,342,912
9Jan 3, 2023 10:565,62046,850,52016,984,000999,0002,334,720
10Jan 3, 2023 10:565,62138,867,20516,987,000999,0002,342,912
11Jan 3, 2023 11:005,62537,815,01516,001,0002,000,0002,342,912
12Jan 3, 2023 10:565,62948,782,89317,014,0001,000,0002,428,928
13Jan 3, 2023 11:005,63736,941,56916,035,0002,004,0002,433,024
14Jan 3, 2023 11:005,63845,588,03716,038,0002,004,0002,334,720
15Jan 3, 2023 10:565,64046,726,19617,046,0001,002,0002,342,912
16Jan 3, 2023 11:005,64347,087,11117,053,0001,003,0002,342,912
17Jan 3, 2023 10:565,64646,490,53816,060,0002,007,0002,428,928
18Jan 3, 2023 10:565,66445,443,59016,112,0002,014,0002,523,136
19Jan 3, 2023 10:566,126102,130,60219,603,41302,260,992
20Jan 3, 2023 11:006,157104,356,79919,701,63102,260,992
21Jan 3, 2023 11:006,169108,869,10619,740,48402,265,088
22Jan 3, 2023 10:566,18693,277,18419,794,72302,248,704
23Jan 3, 2023 10:566,26598,914,68820,046,73702,260,992
24Jan 3, 2023 11:006,30175,980,50420,161,84202,273,280