Study/code up

[codeup] 1124 : 분자량 구하기 1

1nfra 2020. 5. 3. 00:46
728x90
1
2
3
4
5
6
7
8
9
#include <stdio.h>
 
int main()
{
    int b, c, d, e;
 
    scanf("%C%d%C%d", &b, &c, &d, &e);
    printf("%d", c * 12 + e * 1);
}
Colored by Color Scripter
cs
728x90
저작자표시 비영리 동일조건 (새창열림)