Search found 4 matches

by astralbeams
Sun Dec 11, 2005 10:01 am
Forum: Volume 3 (300-399)
Topic: 343 - What Base Is This?
Replies: 72
Views: 28334

343 WA

Please help me!
Can anyone give me some samples?
Here is my code.
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
int count(char input[],int base,int len){
int i=len-1,j=1;
int result;
result=(input[i]-'0');
if(input[i]-'0'>=base) return -1;
for(i=len-2;i>=0;i--){
if(input[i]-'0 ...
by astralbeams
Fri Sep 30, 2005 1:22 am
Forum: Other words
Topic: how to submit my code?
Replies: 6
Views: 3663

I mean I did the online submission, but I got "Access Denied."
If my ID have not actived, I couldn't have any data, so I don't know what's the matter.
http://acm.uva.es/cgi-bin/OnlineJudge?UsersMgr:EditUser does not work.

What can I do?
by astralbeams
Tue Sep 27, 2005 6:37 pm
Forum: Other words
Topic: how to submit my code?
Replies: 6
Views: 3663

Excuse me. I submitted my codes via e-mail. But I know the way doesn't work anymore. And I have the same problem "Access Denied.". Can anyone tell me how to active my ID? Thank you.
by astralbeams
Tue Jun 28, 2005 5:40 am
Forum: Volume 4 (400-499)
Topic: 476 - Points in Figures: Rectangles
Replies: 87
Views: 18842

476 WA

I can't find the bugs. Please help me!
code:
#include<iostream>

using namespace std;

int main(){
char r;
int i=0,count=0;
double a,b,c,d;
double x[10][2]={0};
double y[10][2]={0};
while(cin>>r){
if(r=='*') break;
else{
cin>>a>>b>>c>>d;
x[i][1]=a;
x[i][2]=c;
y[i][1]=d;
y[i][2]=b;
i ...

Go to advanced search