Borderou de evaluare (job #1754244)

Utilizator ionanghelinaIonut Anghelina ionanghelina Data 7 septembrie 2016 18:46:08
Problema Spion Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 15

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
10ms436kbOK5
268ms452kbOK5
3Depăşit468kbTime limit exceeded.0
4Depăşit480kbTime limit exceeded.0
50ms440kbOK5
60ms440kbIncorect0
70ms448kbIncorect0
80ms444kbIncorect0
90ms444kbIncorect0
104ms448kbIncorect0
1168ms464kbIncorect0
12156ms472kbIncorect0
13276ms476kbIncorect0
14Depăşit440kbTime limit exceeded.0
15Depăşit452kbTime limit exceeded.0
16Depăşit460kbTime limit exceeded.0
17Depăşit468kbTime limit exceeded.0
18Depăşit480kbTime limit exceeded.0
19Depăşit484kbTime limit exceeded.0
20Depăşit488kbTime limit exceeded.0
Punctaj total15

Ceva nu functioneaza?