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 listMay 29, 2021 16:45Dmitry DolgopolovDmitry DolgopolovScore: 5,032Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 16:454,99834,448,19413,994,0001,999,0002,273,280
2May 29, 2021 16:464,99939,828,95213,999,0001,999,0002,445,312
3May 29, 2021 16:465,00332,000,63814,009,0002,001,0002,535,424
4May 29, 2021 16:465,00437,208,75114,012,0002,001,0002,535,424
5May 29, 2021 16:455,00842,424,47814,024,0002,003,0002,273,280
6May 29, 2021 16:455,00935,872,64614,025,0002,003,0002,535,424
7May 29, 2021 16:455,01442,281,07314,040,0002,005,0002,535,424
8May 29, 2021 16:465,01443,650,51014,041,0002,005,0002,445,312
9May 29, 2021 16:465,01634,607,96014,046,0002,006,0002,445,312
10May 29, 2021 16:455,01832,495,21614,051,0002,007,0002,445,312
11May 29, 2021 16:465,02530,038,14614,070,0002,010,0002,445,312
12May 29, 2021 16:455,03036,232,43514,084,0002,012,0002,535,424
13May 29, 2021 16:465,03231,905,37614,090,0002,012,0002,449,408
14May 29, 2021 16:455,03337,476,07714,092,0002,013,0002,437,120
15May 29, 2021 16:465,03738,852,00814,104,0002,014,0002,445,312
16May 29, 2021 16:455,03734,572,27214,104,0002,014,0002,535,424
17May 29, 2021 16:455,03843,874,21314,108,0002,015,0002,445,312
18May 29, 2021 16:465,05333,286,46114,147,0002,021,0002,273,280
19May 29, 2021 16:465,21080,241,93916,671,54602,203,648
20May 29, 2021 16:455,21787,379,30816,693,49602,203,648
21May 29, 2021 16:455,222105,182,92016,711,06402,199,552
22May 29, 2021 16:465,22781,326,64316,726,17802,203,648
23May 29, 2021 16:465,25474,353,03816,811,48802,195,456
24May 29, 2021 16:455,259103,081,61016,829,32802,256,896