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 listAug 4, 2024 00:36jeffplaisancejeffplaisanceScore: 4,414Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2024 00:364,37537,564,75513,001,0001,000,0002,277,376
2Aug 4, 2024 00:364,38829,785,23213,038,0001,002,0002,277,376
3Aug 4, 2024 00:364,39135,390,61113,049,0001,003,0002,277,376
4Aug 4, 2024 00:364,39330,839,52713,053,0001,004,0002,498,560
5Aug 4, 2024 00:364,40136,100,85113,077,0001,005,0002,494,464
6Aug 4, 2024 00:364,41327,580,62113,114,0001,008,0002,277,376
7Aug 4, 2024 00:364,41430,820,03113,116,0001,008,0002,277,376
8Aug 4, 2024 00:364,42128,747,84313,136,0001,010,0002,490,368
9Aug 4, 2024 00:364,44825,570,30412,199,0002,033,0002,273,280
10Aug 4, 2024 00:364,67078,887,51314,944,81402,367,488
11Aug 4, 2024 00:364,69566,767,07415,025,14002,244,608
12Aug 4, 2024 00:364,71485,658,28715,083,90902,236,416