Pagini recente » Borderou de evaluare (job #2017001) | Borderou de evaluare (job #330103) | Borderou de evaluare (job #2561760) | Borderou de evaluare (job #584408) | Borderou de evaluare (job #2607752)
Borderou de evaluare (job #2607752)
Raport evaluator
Compilare:
main.cpp: In function 'void sch(int*, int*)':
main.cpp:54:26: warning: 'sizeof' on array function parameter 't1' will return size of 'int*' [-Wsizeof-array-argument]
memset(t1,0,sizeof(t1));
^
main.cpp:52:20: note: declared here
void sch(int t1[105],int t2[105])
^
main.cpp:54:23: 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(t1,0,sizeof(t1));
^
main.cpp:57:26: warning: 'sizeof' on array function parameter 't2' will return size of 'int*' [-Wsizeof-array-argument]
memset(t2,0,sizeof(t2));
^
main.cpp:52:32: note: declared here
void sch(int t1[105],int t2[105])
^
main.cpp:57:23: 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(t2,0,sizeof(t2));
^
main.cpp: In function 'int main()':
main.cpp:79:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("produs.in","r",stdin);
^
main.cpp:80:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("produs.out","w",stdout);
^
main.cpp:81:24: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(s,102, stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 655kb | OK | 10 |
2 | 36ms | 655kb | Incorect | 0 |
3 | 36ms | 655kb | Incorect | 0 |
4 | 38ms | 655kb | Incorect | 0 |
5 | 37ms | 655kb | Incorect | 0 |
6 | 35ms | 655kb | Incorect | 0 |
7 | 37ms | 655kb | Incorect | 0 |
8 | 36ms | 655kb | Incorect | 0 |
9 | 37ms | 655kb | Incorect | 0 |
10 | 37ms | 655kb | Incorect | 0 |
Punctaj total | 10 |