Borderou de evaluare (job #1483858)
Utilizator | Data | 10 septembrie 2015 00:20:33 | |
---|---|---|---|
Problema | Panda | 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:13:57: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 8 has type ‘int*’ [-Wformat=]
scanf("%d%d%d%d%d%d%lld%d",&p,&x,&m,&t,&k1,&i1,&b,&n);
^
user.cpp:15:23: error: ‘h’ was not declared in this scope
scanf("%d%d",&h[k],&h1[k]);
^
user.cpp:15:29: error: ‘h1’ was not declared in this scope
scanf("%d%d",&h[k],&h1[k]);
^
user.cpp:108:18: error: ‘h’ was not declared in this scope
if(f[h[k]][h1[k]]==1)
^
user.cpp:108:24: error: ‘h1’ was not declared in this scope
if(f[h[k]][h1[k]]==1)
^
user.cpp:11:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("panda.in","r",stdin);
^
user.cpp:12:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("panda.out","w",stdout);
^
user.cpp:13:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d%d%lld%d",&p,&x,&m,&t,&k1,&i1,&b,&n);
^
user.cpp:32:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&s);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !