Borderou de evaluare (job #982720)
Utilizator | Data | 9 august 2013 19:43:47 | |
---|---|---|---|
Problema | Suma si numarul divizorilor | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:15: error: conflicting declaration ‘long long int nrd’
long long nrd,P;
^
user.cpp:25:15: error: ‘nrd’ has a previous declaration as ‘int nrd’
int T,n,c,nrd,i,m,S,P;
^
user.cpp:26:19: error: conflicting declaration ‘long long int P’
long long nrd,P;
^
user.cpp:25:25: error: ‘P’ has a previous declaration as ‘int P’
int T,n,c,nrd,i,m,S,P;
^
user.cpp:28:20: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%lld",&T);
^
user.cpp:31:24: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%lld",&n);
^
user.cpp:53:35: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%lld %lld\n",nrd,S);
^
user.cpp:53:35: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘int’ [-Wformat=]
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !