Pagini recente » Borderou de evaluare (job #2917484) | Borderou de evaluare (job #2837960) | Borderou de evaluare (job #2616172) | Borderou de evaluare (job #378657) | Borderou de evaluare (job #1806594)
Borderou de evaluare (job #1806594)
Raport evaluator
Compilare:
user.cpp: In constructor ‘_treap::_treap(int)’:
user.cpp:18:17: warning: ‘_treap::r’ will be initialized after [-Wreorder]
_treap *l, *r;
^
user.cpp:17:19: warning: ‘int _treap::vmin’ [-Wreorder]
int key, pri, vmin, vmax, dmin;
^
user.cpp:20:5: warning: when initialized here [-Wreorder]
_treap(int _key) : key(_key), pri(rand()), l(nullptr), r(nullptr), vmin(_key), vmax(_key), dmin(INF) {}
^
user.cpp: In function ‘int main()’:
user.cpp:97:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zeap.in", "r", stdin);
^
user.cpp:98:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zeap.out", "w", stdout);
^
user.cpp:110:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:115:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:120:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 10 |
2 | 8ms | 336kb | OK | 10 |
3 | 64ms | 772kb | OK | 10 |
4 | 92ms | 1196kb | OK | 10 |
5 | 200ms | 1948kb | OK | 10 |
6 | 308ms | 2884kb | OK | 10 |
7 | 528ms | 5620kb | OK | 10 |
8 | 504ms | 3396kb | OK | 10 |
9 | 236ms | 900kb | OK | 10 |
10 | 580ms | 5628kb | OK | 10 |
Punctaj total | 100 |