Borderou de evaluare (job #1416711)
Utilizator | Data | 8 aprilie 2015 19:42:57 | |
---|---|---|---|
Problema | Numere Prime | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void prim(int)’:
user.cpp:17:13: error: ‘a’ was not declared in this scope
a[j++]=p[i];
^
user.cpp:7:12: warning: unused variable ‘nr’ [-Wunused-variable]
{int i, j, nr = 1;
^
user.cpp: In function ‘void rez()’:
user.cpp:20:15: error: ‘f’ was not declared in this scope
{int t;fscanf(f,"%d",&t);
^
user.cpp:21:9: error: ‘g’ was not declared in this scope
fprintf(g,"%lld",a[t+2]*a[t+2]);
^
user.cpp:21:18: error: ‘a’ was not declared in this scope
fprintf(g,"%lld",a[t+2]*a[t+2]);
^
user.cpp: In function ‘int main()’:
user.cpp:25:7: warning: unused variable ‘f’ [-Wunused-variable]
FILE *f=freopen("ciur.in","r",stdin),*g=freopen("ciur.out","w",stdout);
^
user.cpp:25:39: warning: unused variable ‘g’ [-Wunused-variable]
FILE *f=freopen("ciur.in","r",stdin),*g=freopen("ciur.out","w",stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !