Untitled
unknown
c_cpp
2 years ago
228 B
7
Indexable
#include <iostream>
const int ROW = 12;
using namespace std;
int hashFunction(int x) {
return x % ROW;
}
int main () {
int x;
cin >> x ;
cout << hashFunction(x) << endl;
return 0;
}Editor is loading...