0_0_16976246_16595.cpp:1:2: error: invalid preprocessing directive #includeusing
#includeusing namespace std;
^
0_0_16976246_16595.cpp: In function 'void solve(int)':
0_0_16976246_16595.cpp:3:101: error: expected ')' before '}' token
void solve(int num){ if(num == 0) return; solve(num/digit); printf("%c",num % digit }
^
0_0_16976246_16595.cpp: In function 'int main()':
0_0_16976246_16595.cpp:4:35: error: 'cin' was not declared in this scope
int main() { int num; while(cin num digit) { if(num 0) solve(num); else if (!num) cout else { cout solve(-num); } cout } return 0;}
^
0_0_16976246_16595.cpp:4:40: error: expected ')' before 'num'
int main() { int num; while(cin num digit) { if(num 0) solve(num); else if (!num) cout else { cout solve(-num); } cout } return 0;}
^
0_0_16976246_16595.cpp:4:45: error: expected ';' before 'digit'
int main() { int num; while(cin num digit) { if(num 0) solve(num); else if (!num) cout else { cout solve(-num); } cout } return 0;}
^
0_0_16976246_16595.cpp:4:212: error: expected '}' at end of input
int main() { int num; while(cin num digit) { if(num 0) solve(num); else if (!num) cout else { cout solve(-num); } cout } return 0;}
^
|