Borderou de evaluare (job #1946735)
Utilizator | Data | 30 martie 2017 13:26:22 | |
---|---|---|---|
Problema | Ape | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:54:28: error: ‘s’ was not declared in this scope
for(int i=1;i<=ma;i++){s canf("%d%d%d",&a,&b,&c);m[a][b][c]=1;}
^
user.cpp:54:33: error: expected ‘;’ before ‘canf’
for(int i=1;i<=ma;i++){s canf("%d%d%d",&a,&b,&c);m[a][b][c]=1;}
^
user.cpp:50:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("traseu3.in","r",stdin);
^
user.cpp:51:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("traseu3.out","w",stdout);
^
user.cpp:52:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&ma);
^
user.cpp:53:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d%d",&x1,&x2,&x3,&y1,&y2,&y3);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !