mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
26a72e347d
2100-2199
13 lines
214 B
C++
13 lines
214 B
C++
#include <stdio.h>
|
|
int main ()
|
|
{
|
|
int a,b,c,n;
|
|
while (scanf("%d %d %d",&a,&b,&c)!=EOF)
|
|
{
|
|
if (a==-1 && b==-1 && c==-1) return 0;
|
|
n=0.125*a*(a+1)*b*(b+1)*c*(c+1);
|
|
printf ("%d\n",n);
|
|
}
|
|
return 0;
|
|
}
|