0_0_17990687_10195.cpp: In function 'int main()':
0_0_17990687_10195.cpp:2:164: error: expected '}' at end of input
int main() {long long n, m;while (~scanf("%I64d%I64d", &n, &m)) {long long ans = n*m - n - m, num = (n - 1)*(m - 1) / 2;printf("%I64d %I64d\n", ans, num);return 0;}
^
|