Search found 27 matches
- Sun Feb 01, 2015 10:05 pm
- Forum: Volume 114 (11400-11499)
- Topic: 11459 - Snakes and Ladders
- Replies: 33
- Views: 19784
11459 - Snakes and Ladders
Help me please...where is the problem??? I got WA for this code: using namespace std; #include<bits/stdc++.h> #define maxx 1000050 int player[maxx], mapp[111]; int main() { //freopen("in.txt", "r", stdin); //freopen("out.txt", "w", stdout); int a, b, c; int cn...
- Wed Jan 22, 2014 5:45 pm
- Forum: Volume 3 (300-399)
- Topic: 352 - The Seasonal War
- Replies: 54
- Views: 20889
Re: RE verdict for UVa 352 - The Seasonal War
Thanks....I got AC.
- Sat Jan 18, 2014 7:10 pm
- Forum: Volume 3 (300-399)
- Topic: 352 - The Seasonal War
- Replies: 54
- Views: 20889
RE verdict for UVa 352 - The Seasonal War
Where is the problem? Why am I getting RE? Help me please... #include<cstdio> #include<cstdlib> #include<cctype> #include<cmath> #include<cstring> #include<climits> #include<iostream> #include<iomanip> #include<vector> #include<list> #include<stack> #include<queue> #include<map> #include<set> #incl...
- Mon Jan 06, 2014 7:39 am
- Forum: Volume 1 (100-199)
- Topic: 191 - Intersection
- Replies: 103
- Views: 30030
Re: UVa - 191 Intersection(Getting WA)
yes!AC!...
- Sun Jan 05, 2014 6:42 am
- Forum: Volume 1 (100-199)
- Topic: 191 - Intersection
- Replies: 103
- Views: 30030
UVa - 191 Intersection(Getting WA)
Please escape me from this evil situation :evil: .....I'm getting WA again and again but can't find where is the problem....help me please. #include <cstdio> #include <cstdlib> #include <cctype> #include <cmath> #include <cstring> #include <climits> #include <iostream> #include<iomanip> #include <v...
- Fri Nov 22, 2013 10:47 pm
- Forum: Volume 1 (100-199)
- Topic: 118 - Mutant Flatworld Explorers
- Replies: 68
- Views: 17181
Re: WA(118 - Mutant Flatworld Explorers)
Yes, I found the problem and got AC.
- Fri Nov 22, 2013 10:44 pm
- Forum: Volume 1 (100-199)
- Topic: 118 - Mutant Flatworld Explorers
- Replies: 68
- Views: 17181
WA(118 - Mutant Flatworld Explorers)
I got WA....help me please. #include <cstdio> #include <cstdlib> #include <cctype> #include <cmath> #include <cstring> #include <climits> #include <iostream> #include<iomanip> #include <vector> #include <list> #include <stack> #include <queue> #include <map> #include <set> #include <string> #includ...
- Tue Sep 17, 2013 11:14 pm
- Forum: Volume 126 (12600-12699)
- Topic: 12640 - Largest Sum Game
- Replies: 1
- Views: 1303
12640 - Largest Sum Game
Help me please, I got WA..... :( #include<cstdio> #define int64 long long int main() { char ch; int64 num, max = 0, sum = 0; while(scanf("%lld%c",&num,&ch) != EOF){ if(num > 0){ sum += num; } else if(num < 0){ if(sum > max) max = sum; sum = 0; } if(ch == '\n'){ if(sum > max) max = ...
- Mon Sep 16, 2013 9:58 am
- Forum: Volume 101 (10100-10199)
- Topic: 10137 - The Trip
- Replies: 159
- Views: 65441
Re: Where is the problem(10137 - The Trip)
I got AC..
- Sat Sep 14, 2013 6:44 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10137 - The Trip
- Replies: 159
- Views: 65441
Where is the problem(10137 - The Trip)
Help me please....I get WA.... #include<iostream> #include<cstdio> using namespace std; #define MAX 1001 #define int64 long long int main() { int n, cost[MAX]; while(scanf("%d",&n)) { if(n == 0) break; int val, fVal; int64 total = 0, i; for(i = 1; i <= n; i++) { scanf("%d.%d"...
- Sat Aug 31, 2013 7:54 am
- Forum: Volume 113 (11300-11399)
- Topic: 11340 - Newspaper
- Replies: 154
- Views: 63929
Re: 11340 - Newspaper(Range of char)
Thanks...
- Sat Aug 31, 2013 7:51 am
- Forum: Volume 1 (100-199)
- Topic: 195 - Anagram
- Replies: 242
- Views: 51133
Re: 195 - Anagram(WA)
O...thanks.
- Fri Aug 30, 2013 9:05 pm
- Forum: Volume 113 (11300-11399)
- Topic: 11340 - Newspaper
- Replies: 154
- Views: 63929
11340 - Newspaper(Range of char)
In this problem Range of char is -128 to 127!!!
Why? Any explanation???
Why? Any explanation???
- Fri Aug 30, 2013 7:03 pm
- Forum: Volume 1 (100-199)
- Topic: 195 - Anagram
- Replies: 242
- Views: 51133
195 - Anagram(WA)
What's wrong with my code ? Where is the problem? #include<iostream> #include<vector> #include<string.h> #include<algorithm> #include<stdio.h> using namespace std; int main() { int T; scanf("%d",&T); while(T--) { char str[10000]; scanf("%s",str); int l = strlen(str); sort(str...
- Thu Aug 29, 2013 11:48 pm
- Forum: Volume 116 (11600-11699)
- Topic: 11650 - Mirror Clock
- Replies: 15
- Views: 5450
Re: 11650 - Mirror Clock(WA)
Thanks...