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 listNov 6, 2024 22:23CountHarebourgCountHarebourgScore: 47,563Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 6, 2024 22:2347,496173,977,125122,990,00028,997,0002,277,376
2Nov 6, 2024 22:2347,497179,130,322122,993,00028,998,0002,289,664
3Nov 6, 2024 22:2347,504179,373,728122,010,00030,002,0002,277,376
4Nov 6, 2024 22:2347,510175,664,372123,027,00029,006,0002,289,664
5Nov 6, 2024 22:2347,514175,043,999123,038,00029,008,0002,273,280
6Nov 6, 2024 22:2347,543179,457,941123,113,00029,026,0002,289,664
7Nov 6, 2024 22:2347,563177,206,129122,162,00030,039,0002,289,664
8Nov 6, 2024 22:2347,606180,414,668124,278,00028,062,0002,277,376
9Nov 6, 2024 22:2347,627180,198,999123,328,00029,077,0002,289,664
10Nov 6, 2024 22:2347,639174,621,301123,360,00029,085,0002,277,376
11Nov 6, 2024 22:2347,692183,743,627122,492,00030,121,0002,277,376
12Nov 6, 2024 22:2347,956180,416,211123,370,00030,090,0002,281,472