#include <stdio.h>
//練習問題A
int func(int n){
return (n>0)? n:-n;
}
int main(void) {
int n, m = -3;
n = func(m);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Ci8v57e057+S5ZWP6aGMQQppbnQgZnVuYyhpbnQgbil7CnJldHVybiAobj4wKT8gbjotbjsKfQoKaW50IG1haW4odm9pZCkgewoJaW50IG4sIG0gPSAtMzsKICAgIG4gPSBmdW5jKG0pOwogICAgcHJpbnRmKCIlZOOBrue1tuWvvuWApOOBryVkXG4iLCBtLG4pOwoJcmV0dXJuIDA7Cn0K