codeforces 143B Help Kingdom of Far Far Away 2(二)
n in the input in the financial format by the rules described in the problem statement.
Sample test(s)
Input
2012
Output
$2,012.00
Input
#include#include #include #include using namespace std; void dao(char a[]) { int i,n=strlen(a); char t; for(i=0; i