01. Data Types от Methods - More Exercise
Write a program that, depending on the first line of the input, reads an int, double or string.
If the data type is int, multiply the number by 2.
If the data type is real, multiply the number by 1.5 and format it to the second decimal point.
If the data type is string, surround the input with "$".
Print the result on the console.
Не мога да открия къде е проблема. Не минават тест 4 и 5 в Judge - дава ми time error
https://pastebin.com/b2sc69yU
Благодаря! Понякога копирането на код, за да не се пише е много коварно!