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 listJan 1, 2023 18:16Hal FHal FError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 1, 2023 18:1700000Error: No answer to stdout. Died or killed?stderr
2Jan 1, 2023 18:165,11847,209,37015,354,0001,023,0002,273,280
3Jan 1, 2023 18:165,12432,140,44615,372,0001,024,0002,277,376
4Jan 1, 2023 18:165,16338,589,92615,491,0001,032,0002,289,664
5Jan 1, 2023 18:165,17243,727,56915,515,0001,034,0002,523,136
6Jan 1, 2023 18:165,19035,545,65816,607,00002,269,184
7Jan 1, 2023 18:165,19342,681,50416,619,00002,289,664
8Jan 1, 2023 18:165,47938,832,93716,501,0001,031,0002,289,664
9Jan 1, 2023 18:165,48538,558,78516,519,0001,032,0002,277,376
10Jan 1, 2023 18:165,65643,256,96917,094,0001,005,0002,289,664
11Jan 1, 2023 18:165,80076,091,13918,559,39502,301,952
12Jan 1, 2023 18:165,93794,821,72318,998,96402,306,048
13Jan 1, 2023 18:166,28590,113,98820,113,39702,306,048