top of page

소스 코드 제출

공개·회원 71명

250730

/*

#include <stdio.h>

int arr[1100][1100]= {}, queue[3][1000000]= {}, v[1000]= {};

int back=-1, front=-1, n, m;

void push(int k, int p)

{

if(k<1||k>m||p>n||p<1||arr[k][p]!=0)

{

return;

}

arr[k][p]=1;

back++;

queue[1][back]=k;

queue[2][back]=p;

}

int pop()

{

front++;

return queue[1][front];

}

int pup()

{

return queue[2][front];

}


int main()

{

int i, j, d=0, sum=0, c=0, p, q;

scanf("%d %d", &n, &m);


for(i=1; i<=m; i++)

{

for(j=1; j<=n; j++)

{

scanf("%d", &arr[i][j]);

}

}

for(i=1; i<=m; i++)

{

for(j=1; j<=n; j++)

{

if(arr[i][j]==1)

{

c++;

back++;

queue[1][back]=i;

queue[2][back]=j;

}

}

}

if(c==m*n)

{

printf("0");

return 0;

}

while(back!=front)

{

int x = back;

for(i=front+1; i<=x; i++)

{

//printf("(%d, %d)\n", queue[1][i], queue[2][i]);

p=pop();

q=pup();

push(p+1, q);

push(p, q+1);

push(p-1, q);

push(p, q-1);

}

//printf("sum++\n");

sum++;

}


for(i=1; i<=m; i++)

{

for(j=1; j<=n; j++)

{

if(arr[i][j]==0)

{

printf("-1");

return 0;

}

}

}


printf("%d", sum-1);


return 0;

}

*/

/**

1.

c언어 문법 (완)

c언어 자료구조(완)


2.

python 문법

python 자료구조

python 라이브러리 활용 -> 게임만들기


유튜브나 구글에 검색

파이썬 프로젝트, pygame 예제 , 파이썬으로게임만들기


3.

Unity ( c# 3d게임 제작 )


4.

ai 머신러닝 인공지능 이론, 실습(py)



*/


#include<stdio.h>


int main()

{

int n, o, p;

scanf("%d", &n);

o=n/26;

p=n%26;


if(n<=26)

{

if(p!=0)

{

printf("%c", p+64);

}

else

{

printf("Z");

}

}

else

{

if(p!=0)

{

printf("%c%c",o+64, p+64);

}

else

{

printf("%cZ", o+63);

}

}

return 0;

}

38,461,538

3회 조회
주소 : 경기도 용인시 광교중앙로 302 블루 스퀘어 602호
연락처 : 031) 216 - 1546 ,     031) 215 - 1546
사업자등록번호 : 465-92-00916
​학원 등록 제 4603호
bottom of page