이 문제를 제출하면, 24시간 동안 문제를 제출할 수 없다. #include using namespace std; int main(int argc, char* argv[]) { return 0; }
N * (N -1)을 출력하는 문제입니다. #include using namespace std; int main(int argc, char* argv[]) { int n; cin >> n; cout
(L + 1) / 5 + 1 을 출력하면 됩니다. #include using namespace std; int main(int argc, char* argv[]) { int n; cin >> n; cout
Avengers: Endgame를 출력하면 됩니다. #include using namespace std; int main(int argc, char* argv[]) { cout
(a+b) * (a-b)를 출력하는 문제입니다. 수의 범위가 크므로 long long으로 입력받으면 됩니다. #include using namespace std; int main(int argc, char* argv[]) { long long a, b; cin >> a >> b; cout
5개의 수를 더해서 출력하는 문제입니다. #include using namespace std; int main(int argc, char* argv[]) { int a[5]; int sum = 0; for (int i = 0; i > a[i]; sum += a[i]; } cout
킹 1개, 퀸 1개, 룩 2개, 비숍 2개, 나이트 2개, 폰 8개로 구성되어 있을 때 동혁이의 구성이 주어지고 이와 같아지려면 몇개를 빼거나 더해야하는지 찾는 문제입니다. #include #include using namespace std; int main(int argc, char* argv[]) { int a[6] = { 1, 1, 2, 2, 2, 8 }; int b[6]; for (int i = 0; i > b[i]; cout
4개의 시간을 분과 초로 나타내는 문제입니다. 초로 시간이 입력받아지며 이를 60으로 나누면 분이고 60으로 나눈 나머지는 초입니다. #include #include using namespace std; int main(int argc, char* argv[]) { int a, b, c, d; cin >> a >> b >> c >> d; cout