Borderou de evaluare (job #1754250)

Utilizator ionanghelinaIonut Anghelina ionanghelina Data 7 septembrie 2016 19:03:47
Problema Spion Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 55

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:38:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100005]’ [-Wformat=] scanf("%s",&s); ^ user.cpp:41:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<strlen(s);i++) if (s[i]=='E') nr++; ^ user.cpp:46:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<strlen(s);i++) if (s[i]=='E') nr++; ^ user.cpp:34:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("spion.in","r",stdin); ^ user.cpp:35:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("spion.out","w",stdout); ^ user.cpp:36:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&p); ^ user.cpp:37:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("\n"); ^ user.cpp:38:19: 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
10ms428kbOK5
268ms444kbOK5
3Depăşit464kbTime limit exceeded.0
4Depăşit476kbTime limit exceeded.0
50ms440kbOK5
60ms436kbOK5
70ms440kbOK5
80ms440kbOK5
90ms440kbOK5
104ms448kbOK5
1168ms460kbOK5
12156ms464kbOK5
13276ms476kbOK5
14Depăşit436kbTime limit exceeded.0
15Depăşit440kbTime limit exceeded.0
16Depăşit452kbTime limit exceeded.0
17Depăşit464kbTime limit exceeded.0
18Depăşit468kbTime limit exceeded.0
19Depăşit476kbTime limit exceeded.0
20Depăşit484kbTime limit exceeded.0
Punctaj total55

Ceva nu functioneaza?