Borderou de evaluare (job #1241818)

Utilizator S7012MYPetru Trimbitas S7012MY Data 13 octombrie 2014 20:12:22
Problema Raci Status done
Runda Infoarena Monthly 2014, Runda 9 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:35:21: error: ‘strlen’ was not declared in this scope c2[i]=c[strlen(c)-1]; ^ user.cpp:29:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("raci.in","r",stdin); ^ user.cpp:30:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("raci.out","w",stdout); ^ user.cpp:31:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&k); ^ user.cpp:33:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",c); ^

Ceva nu functioneaza?