Borderou de evaluare (job #1208548)

Utilizator bogdanboboc97Bogdan Boboc bogdanboboc97 Data 16 iulie 2014 00:16:45
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:50:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[13]’ [-Wformat=] scanf("%s",&q); ^ user.cpp:51: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:53: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:57:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[13]’ [-Wformat=] scanf("%s",&q); ^ user.cpp:60:26: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[6]’ [-Wformat=] scanf("%s",&d); ^ user.cpp:44: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:45: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:46:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&sw); ^ user.cpp:49:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:50:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&q); ^ user.cpp:51: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:56:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:57:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&q); ^ user.cpp:60:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&d); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms660kbOK5
24ms3420kbOK5
38msDepăşitMemory limit exceeded.0
48msDepăşitMemory limit exceeded.0
58msDepăşitMemory limit exceeded.0
68msDepăşitMemory limit exceeded.0
70ms260kbOK5
80ms272kbOK5
90ms276kbOK5
104ms292kbOK5
1112ms324kbOK5
1224ms376kbOK5
1352ms496kbOK5
14108ms732kbOK5
15136ms852kbOK5
16212ms1140kbOK5
17284ms1436kbOK5
18Depăşit1728kbTime limit exceeded.0
19Depăşit2120kbTime limit exceeded.0
20Depăşit2588kbTime limit exceeded.0
Punctaj total65

Ceva nu functioneaza?