Borderou de evaluare (job #1754253)

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

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:48: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:47:13: warning: unused variable ‘x’ [-Wunused-variable] int x=strlen(s); ^ 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:17: 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
20ms448kbOK5
30ms512kbOK5
40ms528kbOK5
50ms436kbOK5
60ms440kbOK5
70ms448kbOK5
80ms448kbOK5
90ms444kbOK5
104ms444kbOK5
1168ms460kbOK5
12156ms472kbOK5
13276ms476kbOK5
14Depăşit440kbTime limit exceeded.0
15Depăşit444kbTime limit exceeded.0
16Depăşit456kbTime limit exceeded.0
17Depăşit468kbTime limit exceeded.0
18Depăşit476kbTime limit exceeded.0
19Depăşit480kbTime limit exceeded.0
20Depăşit484kbTime limit exceeded.0
Punctaj total65

Ceva nu functioneaza?