Search found 8 matches
- Tue Jun 24, 2014 7:27 am
- Forum: Volume 8 (800-899)
- Topic: 850 - Crypt Kicker II
- Replies: 77
- Views: 36499
Re: 850 - Crypt Kicker II
Hello! I change that and add a blank line after each out put but again ! WA why? #include <iostream> #include <vector> #include <cmath> #include <algorithm> #include <cstdio> #include <string> #include <cstring> #define mp make_pair #define pb push_back #define PII pair<int, int> #define vi vector <...
- Mon Jun 23, 2014 2:24 pm
- Forum: Volume 8 (800-899)
- Topic: 850 - Crypt Kicker II
- Replies: 77
- Views: 36499
Re: 850 - Crypt Kicker II
HI all I got WA on this problem and this is my code : #include <iostream> #include <vector> #include <cmath> #include <algorithm> #include <cstdio> #include <string> #include <cstring> #define mp make_pair #define pb push_back #define PII pair<int, int> #define vi vector <int> #define vii vector <PI...
- Tue Sep 17, 2013 9:58 pm
- Forum: Volume 6 (600-699)
- Topic: 623 - 500!
- Replies: 187
- Views: 43769
Re: 623 - 500!
TY brainfry
But why my code is wrong?
and I got TLE?
But why my code is wrong?
and I got TLE?
- Tue Sep 17, 2013 9:57 pm
- Forum: Volume 113 (11300-11399)
- Topic: 11385 - Da Vinci Code
- Replies: 70
- Views: 23465
Re: 11385 - Da Vinci Code
Thank You brainfry
But Where I put space?
and I don't know about string in scanf
But Where I put space?
and I don't know about string in scanf

- Tue Sep 17, 2013 9:53 pm
- Forum: Volume 6 (600-699)
- Topic: 623 - 500!
- Replies: 187
- Views: 43769
Re: 623 - 500!
TY brainfry
But why my code is wrong?
But why my code is wrong?
- Mon Sep 16, 2013 12:28 pm
- Forum: Volume 6 (600-699)
- Topic: 623 - 500!
- Replies: 187
- Views: 43769
Re: 623 - 500!
Hi All Can someone help me? I Got TLE but I try 1000! and my code answer in 2 sec in release mode :cry: #include <iostream> #include <string> #include <algorithm> using namespace std; int a[2000], b[2000], c[2000]; int number = 3; long long Max = 0, Min = 100000007, f = 0; int len_num (int n) { int ...
- Mon Sep 16, 2013 10:08 am
- Forum: Volume 101 (10100-10199)
- Topic: 10106 - Product
- Replies: 98
- Views: 27227
- Sat Sep 14, 2013 3:08 pm
- Forum: Volume 113 (11300-11399)
- Topic: 11385 - Da Vinci Code
- Replies: 70
- Views: 23465
Re: 11385 - Da Vinci Code
Hi all I got TLE for this problem Some Body Help me plz TY #include <iostream> #include <string> using namespace std; typedef long long ll; ll fib(ll n) { if(n == 0) return 1; if(n == 1) return 1; if(n == 2) return 2; return fib(n - 1) + fib(n - 2); } #define isnaleph(ch) if(!((ch >= 'a' && ch <= 'z...