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 listJun 5, 2021 03:08evgenikwtevgenikwtScore: 5,280Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2021 03:105,22842,087,01915,686,0001,045,0002,265,088
2Jun 5, 2021 03:085,26534,342,32315,858,000991,0002,387,968
3Jun 5, 2021 03:105,26936,727,03015,871,000991,0002,396,160
4Jun 5, 2021 03:105,27146,612,11616,868,00002,387,968
5Jun 5, 2021 03:105,27241,064,75215,878,000992,0002,265,088
6Jun 5, 2021 03:105,27235,160,07915,877,000992,0002,392,064
7Jun 5, 2021 03:085,27438,122,00416,876,00002,269,184
8Jun 5, 2021 03:105,27438,661,40114,891,0001,985,0002,265,088
9Jun 5, 2021 03:085,27642,115,90515,890,000993,0002,392,064
10Jun 5, 2021 03:085,27641,554,49615,890,000993,0002,265,088
11Jun 5, 2021 03:105,27744,067,32715,893,000993,0002,265,088
12Jun 5, 2021 03:085,27831,991,29514,902,0001,986,0002,265,088
13Jun 5, 2021 03:105,28043,422,52415,902,000993,0002,514,944
14Jun 5, 2021 03:105,28332,927,83415,911,000994,0002,265,088
15Jun 5, 2021 03:085,28742,518,49315,922,000995,0002,265,088
16Jun 5, 2021 03:085,29038,211,01415,934,000995,0002,265,088
17Jun 5, 2021 03:085,30443,388,29215,976,000998,0002,265,088
18Jun 5, 2021 03:085,30644,808,41114,983,0001,997,0002,265,088
19Jun 5, 2021 03:085,46079,081,62117,471,93102,269,184
20Jun 5, 2021 03:105,46551,470,85517,488,69402,285,568
21Jun 5, 2021 03:085,46980,100,54917,500,69602,281,472
22Jun 5, 2021 03:085,49273,361,32517,574,74902,281,472
23Jun 5, 2021 03:105,49772,666,51817,589,37902,277,376
24Jun 5, 2021 03:105,52176,350,64517,667,77702,277,376