CPU_DESIGN Telegram 20
Принес вам ссылку из статьи на godbolt сервер с компилятором Эльбрус - link
[может кто еще не видел]
Спасибо Алексею Маркину за наводку

Нашел самую простую реализацию fizzbuzz на С

#include <stdio.h>

int main(void)
{
int i;
for(i=1; i<=100; i++)
{
if(((i%3)||(i%5))== 0)
printf("number= %d FizzBuzz\n", i);
else if((i%3)==0)
printf("number= %d Fizz\n", i);
else if((i%5)==0)
printf("number= %d Buzz\n", i);
else
printf("number= %d\n",i);

}

return 0;
}
С точки зрения читабельности - у эльбруса 250 строчек, у risc-v 76



tgoop.com/cpu_design/20
Create:
Last Update:

Принес вам ссылку из статьи на godbolt сервер с компилятором Эльбрус - link
[может кто еще не видел]
Спасибо Алексею Маркину за наводку

Нашел самую простую реализацию fizzbuzz на С

#include <stdio.h>

int main(void)
{
int i;
for(i=1; i<=100; i++)
{
if(((i%3)||(i%5))== 0)
printf("number= %d FizzBuzz\n", i);
else if((i%3)==0)
printf("number= %d Fizz\n", i);
else if((i%5)==0)
printf("number= %d Buzz\n", i);
else
printf("number= %d\n",i);

}

return 0;
}
С точки зрения читабельности - у эльбруса 250 строчек, у risc-v 76

BY Записки CPU designer'a




Share with your friend now:
tgoop.com/cpu_design/20

View MORE
Open in Telegram


Telegram News

Date: |

There have been several contributions to the group with members posting voice notes of screaming, yelling, groaning, and wailing in different rhythms and pitches. Calling out the “degenerate” community or the crypto obsessives that engage in high-risk trading, Co-founder of NFT renting protocol Rentable World emiliano.eth shared this group on his Twitter. He wrote: “hey degen, are you stressed? Just let it out all out. Voice only tg channel for screaming”. A Telegram channel is used for various purposes, from sharing helpful content to implementing a business strategy. In addition, you can use your channel to build and improve your company image, boost your sales, make profits, enhance customer loyalty, and more. Ng Man-ho, a 27-year-old computer technician, was convicted last month of seven counts of incitement charges after he made use of the 100,000-member Chinese-language channel that he runs and manages to post "seditious messages," which had been shut down since August 2020. Done! Now you’re the proud owner of a Telegram channel. The next step is to set up and customize your channel. Other crimes that the SUCK Channel incited under Ng’s watch included using corrosive chemicals to make explosives and causing grievous bodily harm with intent. The court also found Ng responsible for calling on people to assist protesters who clashed violently with police at several universities in November 2019.
from us


Telegram Записки CPU designer'a
FROM American