Pagini recente » Borderou de evaluare (job #2786923) | Borderou de evaluare (job #3288541) | Borderou de evaluare (job #3121568) | Borderou de evaluare (job #2750354) | Borderou de evaluare (job #1928352)
Borderou de evaluare (job #1928352)
Raport evaluator
Compilare:
user.cpp: In function ‘int treap::myRand()’:
user.cpp:10:20: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
return ((rand()&((1<<15))-1)<<15) + rand()&((1<<15)-1);
^
user.cpp:10:39: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]
return ((rand()&((1<<15))-1)<<15) + rand()&((1<<15)-1);
^
user.cpp: In instantiation of ‘treap::Node<T>::Node(const T&) [with T = int]’:
user.cpp:286:37: required from ‘void treap::Treap<T>::insertAtKth(const T&, int) [with T = int]’
user.cpp:384:31: required from here
user.cpp:18:26: warning: ‘treap::Node<int>::father’ will be initialized after [-Wreorder]
Node *left, *right, *father;
^
user.cpp:17:10: warning: ‘bool treap::Node<int>::sw’ [-Wreorder]
bool sw;
^
user.cpp:20:5: warning: when initialized here [-Wreorder]
Node(const T& val) : val(val), prio(myRand()), left(NULL), right(NULL),
^
user.cpp:17:10: warning: ‘treap::Node<int>::sw’ will be initialized after [-Wreorder]
bool sw;
^
user.cpp:16:15: warning: ‘int treap::Node<int>::sub’ [-Wreorder]
int prio, sub;
^
user.cpp:20:5: warning: when initialized here [-Wreorder]
Node(const T& val) : val(val), prio(myRand()), left(NULL), right(NULL),
^
user.cpp: In instantiation of ‘treap::Iterator<T> treap::Iterator<T>::operator++() [with T = int]’:
user.cpp:358:55: required from ‘void treap::Treap<T>::printAll(std::ostream&) [with T = int; std::ostream = std::basic_ostream<char>]’
user.cpp:401:20: required from here
user.cpp:79:5: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:371:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv8.in", "r", stdin);
^
user.cpp:372:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv8.out", "w", stdout);
^
user.cpp: In member function ‘treap::Iterator<T> treap::Treap<T>::getKth(treap::Node<T>*, int) [with T = int]’:
user.cpp:259:5: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 412kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 412kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 416kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 412kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 412kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 416kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 5012ms | 6368kb | Wall time limit exceeded. | 0 |
8 | 0ms | 412kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 412kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 412kb | Killed by signal 11(SIGSEGV). | 0 |
11 | 0ms | 412kb | Killed by signal 11(SIGSEGV). | 0 |
12 | 0ms | 412kb | Killed by signal 11(SIGSEGV). | 0 |
13 | 4260ms | 2944kb | Incorect | 0 |
14 | 0ms | 408kb | Killed by signal 11(SIGSEGV). | 0 |
15 | 3580ms | 3256kb | Incorect | 0 |
16 | 0ms | 408kb | Killed by signal 11(SIGSEGV). | 0 |
17 | 0ms | 416kb | Killed by signal 11(SIGSEGV). | 0 |
18 | 0ms | 412kb | Killed by signal 11(SIGSEGV). | 0 |
19 | 0ms | 408kb | Killed by signal 11(SIGSEGV). | 0 |
20 | 0ms | 412kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |