Borderou de evaluare (job #1300129)

Utilizator dragangabrielDragan Andrei Gabriel dragangabriel Data 24 decembrie 2014 01:35:11
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:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (heap.size()>=n) 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
1580ms11900kbOK1030
2576ms12000kbOK10
3576ms11944kbOK10
42392msDepăşitMemory limit exceeded.00
52324msDepăşitMemory limit exceeded.0
62336msDepăşitMemory limit exceeded.0
72424msDepăşitMemory limit exceeded.0
82412msDepăşitMemory limit exceeded.0
92460msDepăşitMemory limit exceeded.0
102360msDepăşitMemory limit exceeded.0
Punctaj total30

Ceva nu functioneaza?