Borderou de evaluare (job #1300115)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:56:15: warning: statement has no effect [-Wunused-value] for (i;i>=1;i--) heap.push(make_pair(q[0][i],q[1][i])); ^ 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
136ms4308kbOK1030
236ms4316kbOK10
336ms4308kbOK10
4292msDepăşitMemory limit exceeded.00
5312msDepăşitMemory limit exceeded.0
6292msDepăşitMemory limit exceeded.0
7316msDepăşitMemory limit exceeded.0
8312msDepăşitMemory limit exceeded.0
9308msDepăşitMemory limit exceeded.0
10320msDepăşitMemory limit exceeded.0
Punctaj total30

Ceva nu functioneaza?