Borderou de evaluare (job #1210522)

Utilizator ZenusTudor Costin Razvan Zenus Data 20 iulie 2014 12:11:22
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:16: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:13: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:14: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:16: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
20ms248kbOK10
30ms248kbOK10
40ms264kbOK10
524ms708kbOK10
636ms984kbIncorect0
74msDepăşitMemory limit exceeded.0
84msDepăşitMemory limit exceeded.0
94msDepăşitMemory limit exceeded.0
104msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?