Pagini recente » Borderou de evaluare (job #2769168) | Borderou de evaluare (job #2376523) | Borderou de evaluare (job #1670529) | Borderou de evaluare (job #2415057) | Borderou de evaluare (job #2607756)
Borderou de evaluare (job #2607756)
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:22: note: declared here
void sch(int t1[10005],int t2[10005])
^
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:36: note: declared here
void sch(int t1[10005],int t2[10005])
^
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 | 786kb | OK | 10 |
2 | 186ms | 786kb | Incorect | 0 |
3 | 286ms | 786kb | Incorect | 0 |
4 | 37ms | 786kb | Incorect | 0 |
5 | 79ms | 786kb | Incorect | 0 |
6 | 154ms | 786kb | Incorect | 0 |
7 | 61ms | 786kb | Incorect | 0 |
8 | 212ms | 786kb | Incorect | 0 |
9 | 212ms | 786kb | Incorect | 0 |
10 | 38ms | 786kb | Incorect | 0 |
Punctaj total | 10 |