Search found 3 matches

by jk4837
Wed Dec 09, 2009 6:51 am
Forum: Volume 5 (500-599)
Topic: 579 - Clock Hands
Replies: 44
Views: 14112

579 - ClockHands WA ><

I got WA in 579-ClockHands, but can't find any error. Please help me! My code: #include <iostream> #include <string> #include <iomanip> #include <cmath> using namespace std; int main() { double h,m; int i; string c; cin >> c; if(c.substr(0,4)=="0:00") exit(0); while(1) { h=0; i=0; double s; while(is...
by jk4837
Sat Aug 11, 2007 5:55 pm
Forum: Volume 1 (100-199)
Topic: 103 - Stacking Boxes
Replies: 200
Views: 20266

#103 WA

I got a WA in #103, but I believe the answer is right. There have a sample I/O I have tried. Sample Input 8 6 5 2 20 1 30 10 23 15 7 9 11 3 40 50 34 24 14 4 9 10 11 12 13 14 31 4 18 8 27 17 44 32 13 19 41 19 1 2 3 4 5 6 80 37 47 18 21 9 Sample Output 4 7 2 5 6 But my answer is: 4 7 2 5 8 Is it right...
by jk4837
Sat Aug 04, 2007 6:56 am
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 40102

101 The Blocks Problem Runtime Error

It is all right to run on pc. The two sample's answer is correct. but i receive a letter: [451] Runtime Error: 101 Dear wonda: Your program has died with signal 11 (SIGSEGV). Meaning: Invalid memory reference Before crash, it ran during 0.002 seconds. -- here is my code: #include <stdio.h> #include ...

Go to advanced search