Pagini recente » Borderou de evaluare (job #2259606) | Borderou de evaluare (job #2183807) | Borderou de evaluare (job #1092694) | Borderou de evaluare (job #1141625) | Borderou de evaluare (job #1737125)
Borderou de evaluare (job #1737125)
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 | 5460kb | OK | 10 |
| 2 | 8ms | 5456kb | Incorect | 0 |
| 3 | 8ms | 5472kb | Incorect | 0 |
| 4 | 8ms | 5484kb | Incorect | 0 |
| 5 | 20ms | 5656kb | Incorect | 0 |
| 6 | 944ms | 8320kb | Incorect | 0 |
| 7 | Depăşit | 11404kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 16548kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 18868kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 20900kb | Time limit exceeded. | 0 |
| Punctaj total | 10 |