Borderou de evaluare (job #1593972)

Utilizator lflorin29Florin Laiu lflorin29 Data 9 februarie 2016 01:54:10
Problema Siruri 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

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:94: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:95: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:98: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
10ms552kbOK10
20ms556kbOK10
30ms560kbOK10
4Depăşit508kbTime limit exceeded.0
5Depăşit520kbTime limit exceeded.0
6Depăşit508kbTime limit exceeded.0
7Depăşit508kbTime limit exceeded.0
8Depăşit516kbTime limit exceeded.0
9Depăşit512kbTime limit exceeded.0
10Depăşit516kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?