Hello !
What's wrong in this source ?
My program Accepted on acm.timus.ru but on uva.es not ?
This my source code:
[c]
#include <stdio.h>
int main() {
long l9;
int mem;
long N, M;
long i,j, k;
int S;
int l1, l2;
scanf("%ld", &M);
for(k=0; k<M; k++) {
scanf("%ld", &N);
for(i=0, l9=0 ...
Search found 4 matches
- Thu Aug 08, 2002 4:29 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10013 - Super long sums
- Replies: 212
- Views: 67745
- Thu Aug 08, 2002 4:26 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10014 - Simple calculations
- Replies: 34
- Views: 13002
10014 - Simple calculations
I don't know what's wrong ?
This is my source:
[cpp]
#include <iostream.h>
#include <stdio.h>
#define MAX_EL 3335
int n;
double a0, an1;
double c[MAX_EL];
double tmp;
int main() {
while(scanf("%d", &n) != EOF) {
cin >> a0;
cin >> an1;
tmp = 0.0;
for(int i=0; i<n; i++) {
cin >> c ;
}
a0 ...
This is my source:
[cpp]
#include <iostream.h>
#include <stdio.h>
#define MAX_EL 3335
int n;
double a0, an1;
double c[MAX_EL];
double tmp;
int main() {
while(scanf("%d", &n) != EOF) {
cin >> a0;
cin >> an1;
tmp = 0.0;
for(int i=0; i<n; i++) {
cin >> c ;
}
a0 ...
- Mon Jul 29, 2002 7:52 pm
- Forum: Volume 103 (10300-10399)
- Topic: 10331 - The Flyover Construction
- Replies: 19
- Views: 7546
- Mon Jul 29, 2002 7:50 pm
- Forum: Volume 103 (10300-10399)
- Topic: 10331 - The Flyover Construction
- Replies: 19
- Views: 7546
10331
Hi !
Simple question
Is it possible - Two roads between two cities ?
example input:
2 2
1 2 1
2 1 1
Simple question

Is it possible - Two roads between two cities ?
example input:
2 2
1 2 1
2 1 1