Pagini recente » Borderou de evaluare (job #82467) | Borderou de evaluare (job #1245926) | Borderou de evaluare (job #2306842) | Borderou de evaluare (job #2369394) | Borderou de evaluare (job #2370824)
Borderou de evaluare (job #2370824)
Raport evaluator
Compilare:
main.cpp: In function 'void inmultire(int*, int*, int*)':
main.cpp:40:18: warning: unused variable 'aux' [-Wunused-variable]
int tr = 0 , aux;
^~~
main.cpp: In function 'void putinInt(int*, int)':
main.cpp:63:24: warning: 'sizeof' on array function parameter 'a' will return size of 'int*' [-Wsizeof-array-argument]
memset(a,0,sizeof(a));
^
main.cpp:61:25: note: declared here
void putinInt(int a[NMAX],int k)
^
main.cpp:63: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(a,0,sizeof(a));
^
main.cpp: In function 'void putinHuge(int*, char*)':
main.cpp:80:24: warning: 'sizeof' on array function parameter 'a' will return size of 'int*' [-Wsizeof-array-argument]
memset(a,0,sizeof(a));
^
main.cpp:78:26: note: declared here
void putinHuge(int a[NMAX],char k[NMAX])
^
main.cpp:80: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(a,0,sizeof(a));
^
main.cpp: In function 'void cpy(int*, int*)':
main.cpp:87:24: warning: 'sizeof' on array function parameter 'a' will return size of 'int*' [-Wsizeof-array-argument]
memset(a,0,sizeof(a));
^
main.cpp:85:20: note: declared here
void cpy(int a[NMAX],int b[NMAX])
^
main.cpp:87: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(a,0,sizeof(a));
^
main.cpp: In function 'int main()':
main.cpp:96:23: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[1005]' [-Wformat=]
scanf("%s%s",&n,&p);
^
main.cpp:96:23: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[1005]' [-Wformat=]
main.cpp:100:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0 ; i < strlen(n) ; i++)
~~^~~~~~~~~~~
main.cpp:103:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0 ; i < strlen(p) ; i++)
~~^~~~~~~~~~~
main.cpp:94:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sosete.in","r",stdin);
^
main.cpp:95:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sosete.out","w",stdout);
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 5 |
2 | 2ms | 131kb | OK | 5 |
3 | 2ms | 131kb | OK | 5 |
4 | 2ms | 131kb | OK | 5 |
5 | 2ms | 131kb | OK | 5 |
6 | 2ms | 131kb | Incorect | 0 |
7 | 2ms | 131kb | Incorect | 0 |
8 | 2ms | 131kb | OK | 5 |
9 | 2ms | 131kb | Incorect | 0 |
10 | 2ms | 131kb | Incorect | 0 |
11 | 2ms | 131kb | Incorect | 0 |
12 | 2ms | 131kb | Incorect | 0 |
13 | 2ms | 131kb | Incorect | 0 |
14 | 2ms | 131kb | Incorect | 0 |
15 | 3ms | 131kb | Incorect | 0 |
16 | 3ms | 131kb | Incorect | 0 |
17 | 3ms | 131kb | Incorect | 0 |
18 | 3ms | 131kb | Incorect | 0 |
19 | 4ms | 131kb | Incorect | 0 |
20 | 4ms | 131kb | Incorect | 0 |
Punctaj total | 30 |