Borderou de evaluare (job #1754248)

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

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ăşit488kbTime limit exceeded.0
50ms440kbOK5
60ms440kbOK5
70ms444kbOK5
80ms448kbOK5
90ms448kbOK5
104ms448kbOK5
1168ms464kbOK5
12156ms468kbIncorect0
13276ms484kbIncorect0
14Depăşit440kbTime limit exceeded.0
15Depăşit448kbTime limit exceeded.0
16Depăşit456kbTime limit exceeded.0
17Depăşit468kbTime limit exceeded.0
18Depăşit476kbTime limit exceeded.0
19Depăşit484kbTime limit exceeded.0
20Depăşit480kbTime limit exceeded.0
Punctaj total45

Ceva nu functioneaza?