Pagini recente » Borderou de evaluare (job #206565) | Borderou de evaluare (job #1878276) | Borderou de evaluare (job #2279170) | Borderou de evaluare (job #907631) | Borderou de evaluare (job #1511265)
Borderou de evaluare (job #1511265)
Raport evaluator
Compilare:
user.cpp: In function ‘void rebulk()’:
user.cpp:32:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < work.size(); i++) {
^
user.cpp: In function ‘void swap_content(int, int)’:
user.cpp:57:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < work.size(); i++) {
^
user.cpp: In function ‘int get_element(int)’:
user.cpp:126:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < work.size(); i++) {
^
user.cpp:140:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:144:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rev.in", "r", stdin);
^
user.cpp:145:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rev.out", "w", stdout);
^
user.cpp:147:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:155:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x, &y, &z);
^
user.cpp: In function ‘void swap_content(int, int)’:
user.cpp:109:40: warning: ‘howY’ may be used uninitialized in this function [-Wmaybe-uninitialized]
work[whY + 1] = mp(from + howY * ind, to);
^
user.cpp:101:46: warning: ‘howX’ may be used uninitialized in this function [-Wmaybe-uninitialized]
work[whX - 1] = mp(from, from + howX * ind - 2 * ind);
^
user.cpp:83:10: warning: ‘whX’ may be used uninitialized in this function [-Wmaybe-uninitialized]
whX++;
^
user.cpp:82:10: warning: ‘whY’ may be used uninitialized in this function [-Wmaybe-uninitialized]
whY++;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 436kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 436kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 732kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 820kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 820kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 816kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 692kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 724kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 788kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 816kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |