KakaoTalk_20190606_001802318.png
  • 246x0w
Welcome
Curriculum
Install&Go
Board
실제 작동 상태를 확인하려면 라이브 사이트로 이동하세요.
  • 카테고리
  • 전체 게시물
  • 내 게시물
avrea
2020년 5월 29일

200529

게시판: 소스 코드 제출

/*

#include <stdio.h>

#include <stdlib.h>


int main()

{

int a, b;


scanf("%d %d", &a, &b);

printf("%d", (a&&!b)||(!a&&b));

return 0;

}

*/


/*

#include <stdio.h>

#include <stdlib.h>


int main()

{

int a, b;


scanf("%d %d", &a, &b);


printf("%d", (!a&&!b)||(a&&b));

return 0;

}

*/


/*

#include <stdio.h>

#include <stdlib.h>


int main()

{

int a, b;


scanf("%d %d", &a, &b);


printf("%d", (!a&&!b));

return 0;


}

*/




/*

#include <stdio.h>



int main()


{


char d[21];

int i;


scanf("%s", d);



for(i=0 ; d[i]!='\0'; i++)

{

printf("\'%c\'\n",d[i]);

}



return 0;

}

*/


#include <stdio.h>

#include <stdlib.h>


int main()

{

int y, m, d;


scanf("%d.%d.%d", &y, &m, &d);


printf("%04d.%02d.%02d", y, m, d);

return 0;


}


댓글 0개
0
댓글
댓글 0개
유사 게시물
  • 200529
  • 220807
  • 20220807
주소 : 경기도 용인시 광교중앙로 302 블루 스퀘어 602호
연락처 : 031) 216 - 1546
사업자등록번호 : 465-92-00916
​학원 등록 제 4603호