I need help to understand the time wich my simple ''hello world'' is taking to execute

62 views Asked by At

I've just installed C compilers and everything looks normal, however, when I try to run a code it takes too long. A simple ''hello word'' is taking 12 seconds. An online compiler is doing the same thing in just 2 seconds. I don't know what may be happening

is this normal? Or am I doing something wrong? The only extensions I have are code runner and C/C++

I tried to ignore every other extension or feature, but it continues this way. I can assure my PC is good at least, so I don't think it is the one at fault here. But I don't know

since now, thank you for your help

my code

#include <stdio.h>

int main(){


printf("hello world");    
return 0;
}                                                                 
 

output: 

hello world
[Done] exited with code=0 in 12.822 seconds
0

There are 0 answers