Pagini recente » Borderou de evaluare (job #1305928) | Borderou de evaluare (job #1300129)
Borderou de evaluare (job #1300129)
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 |
1 | 580ms | 11900kb | OK | 10 | 30 |
2 | 576ms | 12000kb | OK | 10 |
3 | 576ms | 11944kb | OK | 10 |
4 | 2392ms | Depăşit | Memory limit exceeded. | 0 | 0 |
5 | 2324ms | Depăşit | Memory limit exceeded. | 0 |
6 | 2336ms | Depăşit | Memory limit exceeded. | 0 |
7 | 2424ms | Depăşit | Memory limit exceeded. | 0 |
8 | 2412ms | Depăşit | Memory limit exceeded. | 0 |
9 | 2460ms | Depăşit | Memory limit exceeded. | 0 |
10 | 2360ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 30 |