Borderou de evaluare (job #1687814)

Utilizator bogoismarandaBogoi Smaranda bogoismaranda Data 13 aprilie 2016 09:00:36
Problema Next Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void prodh(int*, int*, int*)’: user.cpp:84:22: 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(c,0,sizeof(c)); ^ user.cpp: In function ‘int main()’: user.cpp:136:15: warning: left operand of comma operator has no effect [-Wunused-value] switch(b[i],b[n+1-i]); ^ user.cpp:110:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("next.in","r",stdin); ^ user.cpp:111:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("next.out","w",stdout); ^ user.cpp:118:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(sir); ^ user.cpp:124:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", & d); ^ /tmp/ccGkKFXk.o: In function `main': user.cpp:(.text.startup+0xbc): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
112msDepăşitMemory limit exceeded.0
212msDepăşitMemory limit exceeded.0
312msDepăşitMemory limit exceeded.0
412msDepăşitMemory limit exceeded.0
512msDepăşitMemory limit exceeded.0
612msDepăşitMemory limit exceeded.0
712msDepăşitMemory limit exceeded.0
812msDepăşitMemory limit exceeded.0
912msDepăşitMemory limit exceeded.0
1012msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?