Borderou de evaluare (job #1747795)

Utilizator IoanZioan zahiu IoanZ Data 25 august 2016 16:50:02
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:63:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1000000]’ [-Wformat=] scanf("%s",&s); ^ user.cpp:60: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:61: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:63:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&s); ^ user.cpp:64: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
112ms8084kbOK10
212ms8080kbOK10
30ms272kbOK10
40ms324kbOK10
520ms8116kbOK10
640ms8180kbOK10
744msDepăşitMemory limit exceeded.0
892msDepăşitMemory limit exceeded.0
9124msDepăşitMemory limit exceeded.0
10136msDepăşitMemory limit exceeded.0
Punctaj total60

Ceva nu functioneaza?