Borderou de evaluare (job #1593973)

Utilizator lflorin29Florin Laiu lflorin29 Data 9 februarie 2016 02:02:36
Problema Siruri 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘void init(int*, int*)’: user.cpp:16:24: warning: argument to ‘sizeof’ in ‘void* memcpy(void*, const void*, size_t)’ call is the same pointer type ‘int*’ as the destination; expected ‘int’ or an explicit length [-Wsizeof-pointer-memaccess] memcpy(a, b, sizeof(b)); ^ user.cpp: In function ‘int main()’: user.cpp:93:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("siruri2.in", "r", stdin); ^ user.cpp:94:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("siruri2.out", "w", stdout); ^ user.cpp:97:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d",&n, &m, &k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms572kbOK10
20ms572kbOK10
30ms572kbOK10
448ms572kbOK10
5Depăşit544kbTime limit exceeded.0
6Depăşit568kbTime limit exceeded.0
740ms568kbOK10
8Depăşit532kbTime limit exceeded.0
9Depăşit528kbTime limit exceeded.0
10Depăşit540kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?