C (32bit only)
int main(int aac, char *b*av) {
scanf("%d\n%d", &a&ac, &b&av);
return printf("%d\n", a[b]&av[ac]);
}
Pointer arithmetic is just as good.
How does it match the requirements?
- No
+
or-
- No
/
,=
,.
,0
-9
- Only 3 pairs of parenthesis, which seems to me minimal (you need
main
,scanf
,printf
). - One
*
(the pointer approach requires it). - Four
,
(could save one by defining normal variables, notac,av
)