Borderou de evaluare (job #1698243)
Utilizator | Andreea Mircescu andm99 | Data | 3 mai 2016 23:46:20 |
---|---|---|---|
Problema | Albine | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:2:2: error: invalid preprocessing directive #defineDIM1002
#defineDIM1002
^
user.cpp:3:2: error: invalid preprocessing directive #defineINF1
#defineINF1<<30
^
user.cpp:4:1: error: ‘intA’ does not name a type
intA[DIM][DIM];
^
user.cpp:5:1: error: ‘intS’ does not name a type
intS[DIM][DIM];
^
user.cpp:6:1: error: ‘intZ’ does not name a type
intZ[DIM][DIM];
^
user.cpp:7:1: error: ‘intN’ does not name a type
intN,M,i,j,n1,max,min,k,cm;
^
user.cpp:8:9: error: expected constructor, destructor, or type conversion before ‘(’ token
intmodul(inta){
^
user.cpp:12:9: error: ISO C++ forbids declaration of ‘intmain’ with no type [-fpermissive]
intmain(){
^
user.cpp: In function ‘int intmain()’:
user.cpp:15:18: error: ‘N’ was not declared in this scope
fscanf(f,"%d%d",&N,&M);
^
user.cpp:15:21: error: ‘M’ was not declared in this scope
fscanf(f,"%d%d",&N,&M);
^
user.cpp:16:5: error: ‘i’ was not declared in this scope
for(i=1;i<=N;i++)
^
user.cpp:17:5: error: ‘j’ was not declared in this scope
for(j=1;j<=M;j++)
^
user.cpp:18:16: error: ‘A’ was not declared in this scope
fscanf(f,"%d",&A[i][j]);
^
user.cpp:20:5: error: ‘j’ was not declared in this scope
for(j=1,min=N+3;j<=M;j++){
^
user.cpp:20:9: error: ‘min’ was not declared in this scope
for(j=1,min=N+3;j<=M;j++){
^
user.cpp:21:1: error: ‘Z’ was not declared in this scope
Z[0][j]=0;
^
user.cpp:22:5: error: ‘i’ was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !