Borderou de evaluare (job #1806342)

Utilizator LucianTLucian Trepteanu LucianT Data 15 noiembrie 2016 10:03:07
Problema Ograzi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:23:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ograzi.in","r",stdin); ^ user.cpp:24:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ograzi.out","w",stdout); ^ user.cpp:25:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d",&n,&m,&w,&h); ^ user.cpp:28:61: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] Hash[((x/w)*1000+y/h)%MOD].push_back(make_pair(x,y)); ^ user.cpp:31:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] sol+=hash_find(make_pair(x,y)); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms8236kbOK10
2Depăşit8976kbTime limit exceeded.0
360ms9016kbOK10
4Depăşit8884kbTime limit exceeded.0
5Depăşit8968kbTime limit exceeded.0
6Depăşit8972kbTime limit exceeded.0
7Depăşit8712kbTime limit exceeded.0
840ms8708kbOK10
916ms8244kbOK10
1064ms8240kbOK10
Punctaj total50

Ceva nu functioneaza?