페이지

10156번: 과자

https://www.acmicpc.net/problem/10156


$O(1)$


#include<cstdio>
int a, b, c;
int main() {
    scanf("%d %d %d", &a, &b, &c);
    printf("%d", (a*b - c)*(a*b > c));
    return 0;
}

댓글 없음 :

댓글 쓰기