Borderou de evaluare (job #1300130)

Utilizator dragangabrielDragan Andrei Gabriel dragangabriel Data 24 decembrie 2014 01:36:23
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:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (heap.size()>=2*n/3) 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
1572ms11904kbOK1030
2568ms11992kbOK10
3576ms11948kbOK10
42324msDepăşitMemory limit exceeded.00
52316msDepăşitMemory limit exceeded.0
62324msDepăşitMemory limit exceeded.0
72416msDepăşitMemory limit exceeded.0
82412msDepăşitMemory limit exceeded.0
92460msDepăşitMemory limit exceeded.0
102352msDepăşitMemory limit exceeded.0
Punctaj total30

Ceva nu functioneaza?