Description
给定一段连续的整数,求出他们中所有偶数的平方和以及所有奇数的立方和。
Sample Input
1 3 2 5
Sample Output
4 28 20 152
#include<iostream>
using namespace std;
int main()
{
}
给定一段连续的整数,求出他们中所有偶数的平方和以及所有奇数的立方和。
1 3 2 5
4 28 20 152
#include<iostream>
using namespace std;
int main()
{
}