Borderou de evaluare (job #2374367)
Utilizator | Data | 7 martie 2019 18:12:16 | |
---|---|---|---|
Problema | Cerc3 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:34:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=m;i++);
^~~
main.cpp:35:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
{
^
main.cpp:37:14: error: 'struct dd' has no member named 'z'
a[i].z=i;
^
main.cpp:32:11: warning: unused variable 'n' [-Wunused-variable]
int m,n,i;
^
main.cpp:30:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cerc3.in","r",stdin);
^
main.cpp:31:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cerc3.out","w",stdout);
^
main.cpp:33:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
main.cpp:36:48: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&a[i].x,&a[i].y,&a[i].r);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !