Borderou de evaluare (job #1393485)

Utilizator robertstrecheStreche Robert robertstreche Data 19 martie 2015 14:44:05
Problema Cifru5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:66:21: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[10005]’ [-Wformat=] scanf("%s",&S); ^ user.cpp:68:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j=0;j<strlen(S);j++) ^ user.cpp:59:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cifru5.in","r",stdin); ^ user.cpp:60:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cifru5.out","w",stdout); ^ user.cpp:62:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:66:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&S); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms420kbOK10
2100ms428kbOK10
3200ms420kbOK10
4Depăşit408kbTime limit exceeded.0
5Depăşit436kbTime limit exceeded.0
6Depăşit424kbTime limit exceeded.0
7Depăşit476kbTime limit exceeded.0
8Depăşit516kbTime limit exceeded.0
9Depăşit512kbTime limit exceeded.0
10Depăşit516kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?