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 22, 2021 14:55Vladimir KuryakovVladimir KuryakovScore: 5,703Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 22, 2021 14:555,65145,724,45316,073,0002,009,0002,519,040
2May 22, 2021 14:555,65247,309,60616,078,0002,009,0002,519,040
3May 22, 2021 14:555,66041,190,06015,093,0003,018,0002,519,040
4May 22, 2021 14:555,66336,806,38816,110,0002,013,0002,519,040
5May 22, 2021 14:555,66845,991,76016,122,0002,015,0002,519,040
6May 22, 2021 14:555,67642,781,72316,145,0002,018,0002,519,040
7May 22, 2021 14:555,68245,280,67216,163,0002,020,0002,519,040
8May 22, 2021 14:555,70338,101,57416,222,0002,027,0002,392,064
9May 22, 2021 14:555,71742,095,23517,277,0001,016,0002,519,040
10May 22, 2021 14:555,93965,803,98319,006,21102,281,472
11May 22, 2021 14:555,95883,355,89019,064,39302,281,472
12May 22, 2021 14:555,96282,643,67219,077,59002,285,568
13May 22, 2021 14:555,98185,453,33719,138,03902,281,472
14May 22, 2021 14:556,03780,524,14819,318,47902,277,376
15May 22, 2021 14:556,04983,094,54219,356,74402,281,472