Borderou de evaluare (job #1206368)

Utilizator bogdanboboc97Bogdan Boboc bogdanboboc97 Data 9 iulie 2014 19:06:42
Problema Zimeria Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 65

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:35:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[13]’ [-Wformat=] scanf("%s",&q); ^ user.cpp:36:43: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[6]’ [-Wformat=] for(i=0;i<n;i++)scanf("%s",&v[i].s); ^ user.cpp:38:46: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[6]’ [-Wformat=] for(i=0;i<n;i++)printf("%s\n",&v[i].s); ^ user.cpp:42:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[13]’ [-Wformat=] scanf("%s",&q); ^ user.cpp:43:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[6]’ [-Wformat=] scanf("%s",&v[0].s); ^ user.cpp:46:28: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[6]’ [-Wformat=] scanf("%s",&x.s); ^ user.cpp:29:25: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(f,"r",stdin); ^ user.cpp:30:26: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(g,"w",stdout); ^ user.cpp:31:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&sw); ^ user.cpp:34:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:35:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&q); ^ user.cpp:36:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(i=0;i<n;i++)scanf("%s",&v[i].s); ^ user.cpp:41:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:42:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&q); ^ user.cpp:43:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&v[0].s); ^ user.cpp:46:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&x.s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbOK5
20ms284kbOK5
3Depăşit348kbTime limit exceeded.0
4Depăşit344kbTime limit exceeded.0
5Depăşit348kbTime limit exceeded.0
6Depăşit348kbTime limit exceeded.0
70ms268kbOK5
80ms280kbOK5
90ms284kbOK5
104ms296kbOK5
1112ms332kbOK5
1224ms388kbOK5
1352ms508kbOK5
14112ms732kbOK5
15140ms856kbOK5
16216ms1148kbOK5
17292ms1444kbOK5
18Depăşit1732kbTime limit exceeded.0
19Depăşit2124kbTime limit exceeded.0
20Depăşit2584kbTime limit exceeded.0
Punctaj total65

Ceva nu functioneaza?