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 listFeb 22, 2024 13:38Huy Duc LeHuy Duc LeScore: 4,677Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 13:384,64840,601,55213,810,0001,062,0002,387,968
2Feb 22, 2024 13:384,64830,936,20612,892,0001,983,0002,265,088
3Feb 22, 2024 13:384,65043,007,63813,889,000992,0002,265,088
4Feb 22, 2024 13:384,65333,147,18612,905,0001,985,0002,265,088
5Feb 22, 2024 13:384,66335,117,63413,927,000994,0002,387,968
6Feb 22, 2024 13:384,67642,055,59612,968,0001,995,0002,265,088
7Feb 22, 2024 13:384,67738,425,18012,972,0001,995,0002,387,968
8Feb 22, 2024 13:384,68842,250,37514,001,0001,000,0002,510,848
9Feb 22, 2024 13:384,69734,599,62213,027,0002,004,0002,265,088
10Feb 22, 2024 13:384,89257,605,76315,653,36302,289,664
11Feb 22, 2024 13:384,90394,384,86915,688,03502,277,376
12Feb 22, 2024 13:384,91465,989,93815,724,16002,240,512