Pagini recente » Borderou de evaluare (job #329641) | Borderou de evaluare (job #2827340) | Borderou de evaluare (job #423067) | Borderou de evaluare (job #2136759) | Borderou de evaluare (job #1737131)
Borderou de evaluare (job #1737131)
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 | 5456kb | OK | 10 |
2 | 8ms | 5460kb | Incorect | 0 |
3 | 8ms | 5464kb | Incorect | 0 |
4 | 8ms | 5488kb | Incorect | 0 |
5 | 20ms | 5648kb | Incorect | 0 |
6 | 952ms | 8328kb | Incorect | 0 |
7 | Depăşit | 11404kb | Time limit exceeded. | 0 |
8 | Depăşit | 16552kb | Time limit exceeded. | 0 |
9 | Depăşit | 18868kb | Time limit exceeded. | 0 |
10 | Depăşit | 20900kb | Time limit exceeded. | 0 |
Punctaj total | 10 |