Search found 1 match

by shuvic
Sat Jul 23, 2005 5:57 pm
Forum: Volume 1 (100-199)
Topic: 112 - Tree Summing
Replies: 137
Views: 14246

#112 help plz

i cannot understand this code is waaaaaaaaaaaaaaa.. help me plz #include <iostream> #include <stack> using namespace std; int main() { int num; char tmpChar[6]; int tmpPos, tmp; int bracketCount; int sum; bool flg, bracketFlag; stack<int> st; while(cin >> num) { bracketCount=0; sum=0; tmpPos=0; flg=...

Go to advanced search