자바, 런타임 에러
import java.io.*;
import java.util.*;
public class Main {
static int h,w;
static char[][] map;
//로봇
static int sx=-1, sy=-1, sDir=-1;
static int[] dx = {-1,0,1,0}; //+1;R 북동남서 -1:L
static int[] dy = {0,1,0,-1};
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
h = sc.nextInt();
w = sc.nextInt();
map = new char[h][w];
for(int i=0; i<h; i++) {
String s = sc....
- 연습문제 톡
- 날짜
- 2024-06-30 20:15:00
- 작성자
- ppssyyy95
- 댓글
- 1
#[HSAT_1회_정기_코딩_인증평가_기출]_로봇이_지나간_경로