Pagini recente » Borderou de evaluare (job #1423108) | Borderou de evaluare (job #1894392) | Borderou de evaluare (job #2661804) | Borderou de evaluare (job #1982135) | Borderou de evaluare (job #1678664)
Borderou de evaluare (job #1678664)
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:135:15: warning: left operand of comma operator has no effect [-Wunused-value]
switch(b[i],b[n+1-i]);
^
user.cpp:110:30: 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:117:11: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir);
^
user.cpp:123:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", & d);
^
/tmp/ccVuhuyi.o: In function `main':
user.cpp:(.text.startup+0x92): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 0ms | 268kb | OK | 10 |
3 | 0ms | 296kb | Killed by signal 6(SIGABRT). | 0 |
4 | 0ms | 296kb | Killed by signal 6(SIGABRT). | 0 |
5 | 0ms | 300kb | Killed by signal 6(SIGABRT). | 0 |
6 | 0ms | 304kb | Killed by signal 6(SIGABRT). | 0 |
7 | 0ms | 296kb | Killed by signal 6(SIGABRT). | 0 |
8 | 0ms | 300kb | Killed by signal 6(SIGABRT). | 0 |
9 | 0ms | 300kb | Killed by signal 6(SIGABRT). | 0 |
10 | 0ms | 300kb | Killed by signal 6(SIGABRT). | 0 |
Punctaj total | 20 |