Borderou de evaluare (job #1210530)

Utilizator ZenusTudor Costin Razvan Zenus Data 20 iulie 2014 12:57:13
Problema Gigel si Resturile Status done
Runda Arhiva Monthly Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:26: warning: format ‘%s’ expects argument of type ‘char*’, but argument 4 has type ‘char (*)[1000001]’ [-Wformat=] scanf("%d%d%s",&B,&MOD,&S); ^ user.cpp:14:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("gsr.in","r",stdin); ^ user.cpp:15:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("gsr.out","w",stdout); ^ user.cpp:17:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%s",&B,&MOD,&S); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms244kbOK100
20ms240kbOK10
30ms244kbOK10
40ms264kbOK10
524ms708kbOK10
636ms980kbIncorect0
78msDepăşitMemory limit exceeded.0
84msDepăşitMemory limit exceeded.0
98msDepăşitMemory limit exceeded.0
108msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?