P2.c:5:4: warning: conflicting types for built-in function ‘pow’
ll pow(ll base, ll exp) {
^
P2.c: In function ‘main’:
P2.c:22:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for (int i=0; i<m; ++i) {
^
P2.c:22:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
P2.c:21:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
P2.c:23:9: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &s);
^