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 listNov 1, 2021 15:52Ilya AniskovetsIlya AniskovetsScore: 5,733Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 1, 2021 15:525,51633,362,15017,651,00002,265,088
2Nov 1, 2021 15:525,52844,888,76116,650,0001,040,0002,265,088
3Nov 1, 2021 15:525,58648,521,56216,883,000993,0002,265,088
4Nov 1, 2021 15:525,59832,457,19115,925,0001,990,000274,432
5Nov 1, 2021 15:525,66740,713,03917,126,0001,007,0002,383,872
6Nov 1, 2021 15:525,68656,591,67718,194,15702,281,472
7Nov 1, 2021 15:525,73389,653,37718,345,16602,281,472
8Nov 1, 2021 15:525,75578,696,98818,415,40802,281,472
9Nov 1, 2021 15:525,78143,375,02716,443,0002,055,0002,265,088
10Nov 1, 2021 15:525,94943,034,66917,033,0002,003,0002,363,392
11Nov 1, 2021 15:525,97748,551,75417,112,0002,013,000430,080
12Nov 1, 2021 15:526,09742,602,54516,430,0003,080,0002,347,008