// File: kernel.cpp
#include "loop_033.h"
#include <stdint.h>

extern "C" void inner_loop_033(struct loop_033_data * input) {
  double *a = input->a;
  double *b = input->b;
  int64_t n = input->n;

  double res = 0.0;
  for (int i = 0; i < n; i++) {
    res += a[i] * b[i];
  }
  input->res = res;
}