R.cpp: In function ‘int main()’:
R.cpp:44:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (d < v[0].size()) {
^
R.cpp:11:25: warning: unused variable ‘res’ [-Wunused-variable]
int n, s; long long res = 0;
^
R.cpp:12:15: warning: unused variable ‘m’ [-Wunused-variable]
long long m;
^
R.cpp:13:24: warning: unused variable ‘temp’ [-Wunused-variable]
unsigned long long temp;
^
R.cpp:47:23: error: expected ‘}’ at end of input
}printf("%lld", a);
^
R.cpp:16:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &s, &n);
^