11 lines
147 B
C
11 lines
147 B
C
#include "h.h"
|
|
#include <stdlib.h>
|
|
|
|
double h(int i) {
|
|
if (i < 100000) {
|
|
return rand() % i;
|
|
} else {
|
|
return i / 10;
|
|
}
|
|
}
|