CODE 120~124 선택제어문 - 형성평가 1~5
·
프로그래밍/C_정보올림피아드 Language_Coder
CODE 120 #include int main(){ int a=0, b=0; scanf("%d %d",&b,&a); if(a>b){ printf("%d",a-b); } else if(b>a) //여기서 else하면 끝나는 것 { printf("%d",b-a); } else{ } return 0; } CODE 121 #include int main(){ int a=0; scanf("%d",&a); if(a>0){ printf("plus"); } else if(a
K-사이버 시큐리티 챌린지 2020
·
기타/기타
AI보안, 빅데이터, 취약점 발굴, 개인정보 등 다양한 분야에 챌린지가 열립니다. 관심있으시면 아래 링크로 접속하여 확인하시길 바랍니다. www.k-csc2020.com/ K-사이버 시큐리티챌린지2020 K-사이버 시큐리티 챌린지 2020은 과학기술정보통신부에서 주최하고 한국인터넷진흥원이 주관하는 국내 최대 규모의 사이버 보안 경연대회로 AI, 빅데이터, 취약점 발굴, 개인정보 등 혁신 보안�� www.k-csc2020.com
CSRF 토큰
·
K-Shield Jr
보호되어 있는 글입니다.
CODE 518~525 연산자 - 자가진단1~
·
프로그래밍/C_정보올림피아드 Language_Coder
CODE 518 #include int main(void){ int a=0, b=0, c=0; scanf("%d %d %d",&a,&b,&c); printf("sum : %d\navg : %d",a+b+c,(a+b+c)/3); return 0; } CODE 519 #include int main(void){ int a=0, b=0; scanf("%d %d",&a,&b); // 값을 입력 받은 후 i=i+100; j=j%10;을해서 출력해도 된다. printf("%d %d",a+=100,b%=10); return 0; } CODE 520 #include int main(void){ int a=0; scanf("%d",&a); printf("%d\n",a++); //처음하면 헷갈려 printf("출력받은 값..