코딩테스트/프로그래머스 - LV 0
[프로그래머스] PCCE 기출문제 2번
웅드
2024. 2. 9. 16:03
- 풀이
#include <iostream>
using namespace std;
int main(void) {
int a;
int c;
cin >> a >> c;
int b_square = c*c - a*a;
cout << b_square << endl;
return 0;
}
반응형