#include <stdio.h>
#include <stdlib.h>
void main(){
printf("00num = %d\r\n", (int)3.2+9+1.8); printf("01num = %f\r\n", (int)3.2+9+1.8); printf("02num = %f\r\n", 3.2+3+1.8);
printf("1num = %.2d\r\n", 3.2+1.8); printf("2num = %02.3d\r\n", 1.1+1.2); printf("3num = %d\r\n", 1.2+1.6); printf("4num = %d\r\n", 0.3+1.2); printf("5num = %d\r\n", 3.2+3+1.8);
printf("6num = %d\r\n", (int) (3.2+3+1.8)); printf("7num = %d\r\n", (int)3.2);
printf("9num = %d\r\n", (int)2); printf("10num = %d\r\n", (int)2.8); }
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdGRsaWIuaD4KCnZvaWQgbWFpbigpewoKICAgIHByaW50ZigiMDBudW0gPSAlZFxyXG4iLCAoaW50KTMuMis5KzEuOCk7CiAgICBwcmludGYoIjAxbnVtID0gJWZcclxuIiwgKGludCkzLjIrOSsxLjgpOwogICAgcHJpbnRmKCIwMm51bSA9ICVmXHJcbiIsIDMuMiszKzEuOCk7CgogICAgcHJpbnRmKCIxbnVtID0gJS4yZFxyXG4iLCAzLjIrMS44KTsKICAgIHByaW50ZigiMm51bSA9ICUwMi4zZFxyXG4iLCAxLjErMS4yKTsKICAgIHByaW50ZigiM251bSA9ICVkXHJcbiIsIDEuMisxLjYpOwogICAgcHJpbnRmKCI0bnVtID0gJWRcclxuIiwgMC4zKzEuMik7CiAgICBwcmludGYoIjVudW0gPSAlZFxyXG4iLCAzLjIrMysxLjgpOwogICAgCiAgICBwcmludGYoIjZudW0gPSAlZFxyXG4iLCAoaW50KSAoMy4yKzMrMS44KSk7CiAgICBwcmludGYoIjdudW0gPSAlZFxyXG4iLCAoaW50KTMuMik7CiAgICBwcmludGYoIjhudW0gPSAlZFxyXG4iLCAzLjIpOwogICAgCiAgICBwcmludGYoIjludW0gPSAlZFxyXG4iLCAoaW50KTIpOwogICAgcHJpbnRmKCIxMG51bSA9ICVkXHJcbiIsIChpbnQpMi44KTsKICAgIHN5c3RlbSgicGF1c2UiKTsKfQo=