Pagini recente » Borderou de evaluare (job #1302037) | Borderou de evaluare (job #277878) | Borderou de evaluare (job #1239120) | Borderou de evaluare (job #1914774) | Borderou de evaluare (job #2185969)
Borderou de evaluare (job #2185969)
Raport evaluator
Compilare:
user.cpp: In function ‘void huge_sum(int*, int*, int*)’:
user.cpp:11:28: warning: ‘sizeof’ on array function parameter ‘c’ will return size of ‘int*’ [-Wsizeof-array-argument]
memset(c , 0 , sizeof(c));
^
user.cpp:8:41: note: declared here
void huge_sum(int a[] , int b[] , int c[])
^
user.cpp:11:26: 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 ‘long long int huge_imp(int*, int*, long long int&, long long int)’:
user.cpp:24:28: warning: ‘sizeof’ on array function parameter ‘c’ will return size of ‘int*’ [-Wsizeof-array-argument]
memset(c , 0 , sizeof(c));
^
user.cpp:22:36: note: declared here
long long huge_imp(int a[] , int c[] , long long &r , long long k)
^
user.cpp:24:26: 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:44:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s);
^~~~
In file included from /usr/include/c++/6/cstdio:42:0,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^~~~
user.cpp:44:11: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s);
^
In file included from /usr/include/c++/6/cstdio:42:0,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^~~~
user.cpp:42:9: warning: unused variable ‘d’ [-Wunused-variable]
int d , i;
^
user.cpp:40:37: 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:41:39: 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:44:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:45:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 6800kb | Incorect | 0 |
2 | 0ms | 6800kb | Incorect | 0 |
3 | 0ms | 4752kb | OK | 10 |
4 | 0ms | 4764kb | OK | 10 |
5 | 8ms | 6828kb | Incorect | 0 |
6 | 28ms | 6896kb | Incorect | 0 |
7 | 76ms | 7060kb | Incorect | 0 |
8 | 88ms | Depăşit | Memory limit exceeded. | 0 |
9 | 120ms | Depăşit | Memory limit exceeded. | 0 |
10 | 132ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 20 |