Borderou de evaluare (job #2066017)

Utilizator VladG26Ene Vlad-Mihai VladG26 Data 14 noiembrie 2017 17:34:12
Problema Prefixe Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:26: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[131080]’ [-Wformat=] scanf("%s\n",&sir); ^ user.cpp:16:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<strlen(sir);i++) ^ user.cpp:30:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<strlen(sir);i++) ^ user.cpp:9:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("prefixe.in","r",stdin); ^ user.cpp:10:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("prefixe.out","w",stdout); ^ user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ user.cpp:14:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n",&sir); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit548kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?