>
>
[BOJ] 15685번 드래곤 커브
Sol1) 방향을 기준으로 string 만들기#include #define FASTIO ios::sync_with_stdio(0), cin.tie(0), cout.tie(0)using namespace std;int n, x, y, d, g, res;bool visited[105][1005];int dx[] = {1, 0, -1, 0};int dy[] = {0, -1, 0, 1};int main(){ FASTIO; cin >> n; for (int i = 0; i > x >> y >> d >> g; string tmp = to_string(d); for (int j = 0; j 시계 방향으로 90도를 돌린다는 것은 기준점의 관점에서는 반시계..