Borderou de evaluare (job #1413005)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 1 aprilie 2015 18:01:38
Problema Peste Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:27:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (aux[tt].size() == k && aux[tt].top() > p[i]) ^ user.cpp:32:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] else if (aux[tt].size() < k) aux[tt].push(p[i]); ^ user.cpp:40:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (aux[tt].size() == k && aux[tt].top() > p[i]) ^ user.cpp:45:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] else if (aux[tt].size() < k) aux[tt].push(p[i]); ^ user.cpp:16:34: 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:17:36: 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:19:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &N, &k, &Ttotal); ^ user.cpp:23:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &p[i], &t[i]); p[i] *= (-1); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit12544kbTime limit exceeded.0
2Depăşit12284kbTime limit exceeded.0
3184msDepăşitMemory limit exceeded.0
4184msDepăşitMemory limit exceeded.0
5184msDepăşitMemory limit exceeded.0
6188msDepăşitMemory limit exceeded.0
748ms580kbIncorect0
828ms616kbIncorect0
90ms324kbIncorect0
100ms312kbIncorect0
Punctaj total0

Ceva nu functioneaza?