Borderou de evaluare (job #1747738)

Utilizator IoanZioan zahiu IoanZ Data 25 august 2016 15:27:57
Problema Next Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:69:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1000005]’ [-Wformat=] scanf("%s",&s); ^ user.cpp:66:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("next.in","r",stdin); ^ user.cpp:67:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("next.out","w",stdout); ^ user.cpp:69:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&s); ^ user.cpp:70:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&d); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms8080kbOK10
212ms8084kbOK10
30ms276kbOK10
40ms324kbOK10
520ms8112kbOK10
640ms8184kbOK10
744msDepăşitMemory limit exceeded.0
896msDepăşitMemory limit exceeded.0
9124msDepăşitMemory limit exceeded.0
10136msDepăşitMemory limit exceeded.0
Punctaj total60

Ceva nu functioneaza?