Borderou de evaluare (job #2006670)
Utilizator | Data | 31 iulie 2017 11:25:36 | |
---|---|---|---|
Problema | NKPerm | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void a()’:
user.cpp:60:37: error: ‘memset’ was not declared in this scope
memset(f,0,sizeof(f));
^
user.cpp: In function ‘void b()’:
user.cpp:85:37: error: ‘memset’ was not declared in this scope
memset(f,0,sizeof(f));
^
user.cpp: In function ‘void a()’:
user.cpp:54:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp: In function ‘void b()’:
user.cpp:76:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&x);
^
user.cpp: In function ‘int main()’:
user.cpp:102:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nkperm.in","rt",stdin);
^
user.cpp:103:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nkperm.out","wt",stdout);
^
user.cpp:104:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&n,&k,&t);
^
user.cpp:107:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf(" %c ",&cmd);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !