Borderou de evaluare (job #1194626)
Utilizator | Data | 4 iunie 2014 12:01:10 | |
---|---|---|---|
Problema | Expozitie | Status | done |
Runda | Teme Pregatire ACM Unibuc 2013 Semestrul 2 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void adun(short int*, short int*, short int*)’:
user.cpp:11:27: error: ‘memset’ was not declared in this scope
memset(s,0,N*sizeof(s[0])); //seteaza vectorul pe 0
^
user.cpp: In function ‘int main()’:
user.cpp:51:43: error: ‘memset’ was not declared in this scope
memset(a[i1][j],0,N*sizeof(a[i1][j][0]));
^
user.cpp:24:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expozitie.in","r",stdin);
^
user.cpp:25:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expozitie.out","w",stdout);
^
user.cpp:27:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd%hd%hd",&n,&d,&k);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !