Borderou de evaluare (job #1688691)

Utilizator Alexa2001Alexa Tudose Alexa2001 Data 13 aprilie 2016 17:55:41
Problema Peste Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘void initialize()’: user.cpp:31:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(Heap.size()<k) ^ user.cpp:37:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(Heap.size()==k && Heap.top()<=a[ind].p) ^ user.cpp: In function ‘int main()’: user.cpp:51:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("peste.in", "r", stdin); ^ user.cpp:52:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("peste.out", "w", stdout); ^ user.cpp:54:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &n, &k, &Tmax); ^ user.cpp:56:57: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(i=1; i<=n; ++i) scanf("%d%d", &a[i].p, &a[i].t); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit1348kbTime limit exceeded.0
2Depăşit1284kbTime limit exceeded.0
3Depăşit1164kbTime limit exceeded.0
4Depăşit1060kbTime limit exceeded.0
5Depăşit1008kbTime limit exceeded.0
6276ms976kbOK10
78ms356kbOK10
84ms332kbOK10
90ms296kbOK10
100ms280kbOK10
Punctaj total50

Ceva nu functioneaza?