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 listDec 25, 2021 01:35Alexander KimAlexander KimScore: 5,850Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 25, 2021 01:355,82535,521,39917,604,0001,035,0002,297,856
2Dec 25, 2021 01:355,82846,445,53118,650,00002,334,720
3Dec 25, 2021 01:355,82849,163,52317,615,0001,036,0002,334,720
4Dec 25, 2021 01:355,83735,803,01718,677,00002,289,664
5Dec 25, 2021 01:355,84245,032,77617,655,0001,038,0002,334,720
6Dec 25, 2021 01:355,84644,623,80018,706,00002,297,856
7Dec 25, 2021 01:355,85047,648,06417,680,0001,040,0002,334,720
8Dec 25, 2021 01:355,86093,696,77818,753,28402,281,472
9Dec 25, 2021 01:355,88091,664,19018,817,03302,273,280
10Dec 25, 2021 01:355,88843,779,26815,867,0002,975,0002,297,856
11Dec 25, 2021 01:355,89438,826,02716,877,0001,985,0002,334,720
12Dec 25, 2021 01:355,98687,565,81419,155,64902,277,376