Borderou de evaluare (job #1300128)

Utilizator dragangabrielDragan Andrei Gabriel dragangabriel Data 24 decembrie 2014 01:34:13
Problema Rrmst Status done
Runda Happy Birthday Infoarena 2014 Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘void insert_heap(int, int)’: user.cpp:16:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (heap.size()>n/2) heap.erase((*heap.end())); ^ user.cpp: In function ‘int main()’: user.cpp:23:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rrmst.in","r",stdin); ^ user.cpp:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rrmst.out","w",stdout); ^ user.cpp:25:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:28:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&x,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1568ms11900kbOK1030
2568ms11992kbOK10
3572ms11944kbOK10
42316msDepăşitMemory limit exceeded.00
52316msDepăşitMemory limit exceeded.0
62320msDepăşitMemory limit exceeded.0
72412msDepăşitMemory limit exceeded.0
82412msDepăşitMemory limit exceeded.0
92452msDepăşitMemory limit exceeded.0
102344msDepăşitMemory limit exceeded.0
Punctaj total30

Ceva nu functioneaza?