Pagini recente » Borderou de evaluare (job #1574657) | Cod sursa (job #3121603) | Borderou de evaluare (job #1177462) | Borderou de evaluare (job #2433260) | Borderou de evaluare (job #2384113)
Borderou de evaluare (job #2384113)
Raport evaluator
Compilare:
main.cpp: In function 'void reun(int*, int*, int*)':
main.cpp:20:24: warning: 'sizeof' on array function parameter 'c' will return size of 'int*' [-Wsizeof-array-argument]
memset(c,0,sizeof(c));
^
main.cpp:19:33: note: declared here
void reun(int a[],int b[],int c[]){
^
main.cpp:20: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));
^
main.cpp: In function 'void inter(int*, int*, int*)':
main.cpp:47:24: warning: 'sizeof' on array function parameter 'c' will return size of 'int*' [-Wsizeof-array-argument]
memset(c,0,sizeof(c));
^
main.cpp:46:34: note: declared here
void inter(int a[],int b[],int c[]){
^
main.cpp:47: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));
^
main.cpp: In function 'void change(int*, int*)':
main.cpp:62:24: warning: 'sizeof' on array function parameter 'a' will return size of 'int*' [-Wsizeof-array-argument]
memset(a,0,sizeof(a));
^
main.cpp:61:19: note: declared here
void change(int a[],int b[]){
^
main.cpp:62: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:114:33: warning: array subscript has type 'char' [-Wchar-subscripts]
else if(k1>0&&p[S[i]]<p[op[k1]]&&op[k1]!='('){
^
main.cpp:114:43: warning: array subscript has type 'char' [-Wchar-subscripts]
else if(k1>0&&p[S[i]]<p[op[k1]]&&op[k1]!='('){
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK! | 3 |
2 | 2ms | 131kb | OK! | 3 |
3 | 2ms | 262kb | OK! | 3 |
4 | 3ms | 262kb | OK! | 3 |
5 | 3ms | 262kb | OK! | 3 |
6 | 2ms | 262kb | Wrong answer! | 0 |
7 | 2ms | 262kb | Wrong answer! | 0 |
8 | 3ms | 262kb | Wrong answer! | 0 |
9 | 3ms | 262kb | Wrong answer! | 0 |
10 | 3ms | 262kb | Wrong answer! | 0 |
11 | 6ms | 262kb | Wrong answer! | 0 |
12 | 3ms | 262kb | Wrong answer! | 0 |
13 | 25ms | 1179kb | Wrong answer! | 0 |
14 | 3ms | 524kb | Wrong answer! | 0 |
15 | 19ms | 786kb | Wrong answer! | 0 |
16 | 22ms | 917kb | Wrong answer! | 0 |
17 | 31ms | 1310kb | Wrong answer! | 0 |
18 | 3ms | 655kb | Wrong answer! | 0 |
Punctaj total | 15 |