Borderou de evaluare (job #1339213)
Utilizator | Data | 10 februarie 2015 19:20:22 | |
---|---|---|---|
Problema | Difprim | Status | done |
Runda | 9neplace | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:47:32: error: conflicting declaration ‘char a [1260000]’
char a[(10000000 >> 3) + 10000];
^
user.cpp:5:7: error: ‘a’ has a previous declaration as ‘char a [1350000]’
char a[(10000000 >> 3) + 100000];
^
user.cpp:48:6: error: redefinition of ‘int A’
int A, B;
^
user.cpp:4:9: error: ‘int A’ previously declared here
int A, B, st, dr, p1, p2, sol;
^
user.cpp:48:9: error: redefinition of ‘int B’
int A, B;
^
user.cpp:4:12: error: ‘int B’ previously declared here
int A, B, st, dr, p1, p2, sol;
^
user.cpp: In function ‘void ciur()’:
user.cpp:57:24: warning: unused variable ‘val’ [-Wunused-variable]
for (int j = i + i, val = (i << 1); j <= 10000000; j += i) a[j >> 3] |= (1 << (j & 7) );
^
user.cpp: In function ‘int main()’:
user.cpp:61:6: error: redefinition of ‘int main()’
int main (){
^
user.cpp:6:9: error: ‘int main()’ previously defined here
int main (){
^
user.cpp:63:3: error: expected initializer before ‘f’
f >> A >> B;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !