Borderou de evaluare (job #1198590)

Utilizator livliviLivia Magureanu livlivi Data 16 iunie 2014 11:51:46
Problema Abc2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:29:21: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[10000001]’ [-Wformat=] scanf ("%s\n",&s); ^ user.cpp:32:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[21]’ [-Wformat=] scanf ("%s\n",&cuv); ^ user.cpp:41:28: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[21]’ [-Wformat=] while(scanf("%s\n",&cuv)!=EOF){ ^ user.cpp:25:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("abc2.in","r",stdin); ^ user.cpp:26:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("abc2.out","w",stdout); ^ user.cpp:29:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%s\n",&s); ^ user.cpp:32:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%s\n",&cuv); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1108msDepăşitMemory limit exceeded.00
2108msDepăşitMemory limit exceeded.0
3108msDepăşitMemory limit exceeded.0
4108msDepăşitMemory limit exceeded.0
5108msDepăşitMemory limit exceeded.0
6108msDepăşitMemory limit exceeded.0
7108msDepăşitMemory limit exceeded.0
8108msDepăşitMemory limit exceeded.0
9108msDepăşitMemory limit exceeded.0
10108msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?