~cpp Extreme Pair 팀의 전략을 공유하는 페이지 입니다.~cpp Extreme Pair 팀: 이상규, 신재동~cpp Extreme Pair 팀은 어떤 문제든 우선 소스를 기본적으로 밑에 형태로 시작했습니다. 그래서 입력과 출력이나 진행에는 전혀 신경 쓰지 않고 문제를 푸는 알고리즘(process() 함수 부분)에만 집중할 수 있었습니다.~cpp
#include <iostream>
using namespace std;
int numOfData;
inputData[10];
outputData[10];
void input()
{
cin >> numOfData;
for(int i=0;i<numOfData;i++)
{
}
}
void process()
{
for(int i=0;i<numOfData;i++)
{
}
}
void output()
{
for(int i=0;i<numOfData;i++)
{
cout << outputData[i] << endl;
}
}
void main()
{
input();
process();
output();
}
~cpp int에서 ~cpp Over Flow나는 문제가 있었는데 상규가 ~cpp __int64를 알고 있었습니다...^^;;;