Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
1.9 Time Function
#include <stdio.h> #include <omp.h> int main() { int i, j=0; float start,end; start = omp_get_wtime(); #pragma omp parallel for for (i=0; i < 80000; i++) { j+=i; } end = omp_get_wtime(); printf("Time taken: %lf\n", end - start); return 0; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
BigInteger maxMinSum
A_141211_Tartaglia
Volume of a square pyramid With functions
Coba
Spring 2017 Project 2 v.02
prime numbers using functions
14th Feb Programming Project v.01
150116_OrdenMatriz
Tree
Star1..3
Please log in to post a comment.