Untitled
raw download clone
TEXT
views 37
,
size 197 b
#include <stdio.h>

int main()
{
    int  buy, exc;
    int N;
    scanf("%d", &N);
    exc = N/3;
    //printf("%d", exc);
    buy = N - exc;
    printf("%d\n", buy);
    return 0;
}
close fullscreen
Login or Register to edit or fork this paste. It's free.