Pagini recente » Borderou de evaluare (job #1798096) | Borderou de evaluare (job #620910) | Borderou de evaluare (job #2526297) | Borderou de evaluare (job #1717339) | Borderou de evaluare (job #1737133)
Borderou de evaluare (job #1737133)
Raport evaluator
Compilare:
user.cpp: In member function ‘void tree::init(int)’:
user.cpp:21:32: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
memset(aib , 0 , sizeof(aib));
^
user.cpp: In member function ‘void tree::uniteTree(tree, tree)’:
user.cpp:28:32: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
memset(aib , 0 , sizeof(aib));
^
user.cpp: In function ‘void readData()’:
user.cpp:71:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:73:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
user.cpp:75:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &b[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:155:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sccm.in","r",stdin);
^
user.cpp:156:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sccm.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 5456kb | OK | 10 |
2 | 8ms | 5452kb | Incorect | 0 |
3 | 8ms | 5464kb | Incorect | 0 |
4 | 8ms | 5484kb | Incorect | 0 |
5 | 20ms | 5656kb | Incorect | 0 |
6 | 112ms | 8328kb | Incorect | 0 |
7 | 304ms | 11440kb | Incorect | 0 |
8 | 704ms | 16484kb | Incorect | 0 |
9 | 928ms | 18768kb | Incorect | 0 |
10 | 1112ms | 20772kb | Incorect | 0 |
Punctaj total | 10 |