Search found 2 matches
- Wed Nov 13, 2013 1:50 pm
- Forum: Volume 119 (11900-11999)
- Topic: 11995 - I Can Guess the Data Structure!
- Replies: 60
- Views: 9176
Re: 11995 - I Can Guess the Data Structure!
why wa this time?? #include <bits/stdc++.h> using namespace std; #define sc scanf #define pf printf long long int read_int(); int main() { int t; while(sc("%d", &t)!=EOF) { stack<int> st; queue<int> qu; priority_queue<int> pq; int sf=1,qf=1,pf=1,f1=0,f2=0,x=0,y=0,z=0, c1=0, c2=0; map<i...
- Tue Oct 29, 2013 11:04 pm
- Forum: Volume 119 (11900-11999)
- Topic: 11995 - I Can Guess the Data Structure!
- Replies: 60
- Views: 9176
Re: 11995 - I Can Guess the Data Structure!
why WA?? #include <bits/stdc++.h> using namespace std; #define sc scanf #define pf printf long long int read_int(); int main() { int t; while(sc("%d", &t)!=EOF) { stack<int> st; queue<int> qu; priority_queue<int> pq; int sf=1,qf=1,pf=1,f1=0,f2=0; vector<int> v1; vector<int> v2; int a, ...