NOIP2014 阅读程序
1.
#include <iostream> using namespace std; int main() { int a, b, c, d, ans; cin >> a >> b >> c; d = a- b; a = d + c; ans = a * b; cout << "Ans = " << ans << endl; return 0; }
输入:2 3 4
输出:
发表评论