Pagini recente » Borderou de evaluare (job #1792725) | Borderou de evaluare (job #1056003) | Borderou de evaluare (job #331875) | Borderou de evaluare (job #1899595) | Borderou de evaluare (job #1737116)
Borderou de evaluare (job #1737116)
Raport evaluator
Compilare:
user.cpp: In member function ‘void tree::init(int)’:
user.cpp:19: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:26: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:69: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:71:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
user.cpp:73: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:153: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:154: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 | 5452kb | OK | 10 |
2 | 8ms | 5456kb | Incorect | 0 |
3 | 8ms | 5468kb | Incorect | 0 |
4 | 8ms | 5484kb | Incorect | 0 |
5 | 20ms | 5648kb | Incorect | 0 |
6 | 944ms | 8328kb | Incorect | 0 |
7 | Depăşit | 11408kb | Time limit exceeded. | 0 |
8 | Depăşit | 16552kb | Time limit exceeded. | 0 |
9 | Depăşit | 18868kb | Time limit exceeded. | 0 |
10 | Depăşit | 20904kb | Time limit exceeded. | 0 |
Punctaj total | 10 |