Pagini recente » Borderou de evaluare (job #2343340) | Borderou de evaluare (job #2084981) | Borderou de evaluare (job #2735663) | Borderou de evaluare (job #1390961) | Borderou de evaluare (job #2612235)
Borderou de evaluare (job #2612235)
Raport evaluator
Compilare:
main.cpp: In function 'void sch(int*, int*)':
main.cpp:107:26: warning: 'sizeof' on array function parameter 't1' will return size of 'int*' [-Wsizeof-array-argument]
memset(t1,0,sizeof(t1));
^
main.cpp:103:21: note: declared here
void sch(int t1[2505],int t2[2505])
^
main.cpp:107: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:113:26: warning: 'sizeof' on array function parameter 't2' will return size of 'int*' [-Wsizeof-array-argument]
memset(t2,0,sizeof(t2));
^
main.cpp:103:34: note: declared here
void sch(int t1[2505],int t2[2505])
^
main.cpp:113: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:179: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:181: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:183:26: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(s,10005, stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 655kb | OK | 10 |
2 | 5ms | 655kb | OK | 10 |
3 | 44ms | 655kb | OK | 10 |
4 | 437ms | 786kb | OK | 10 |
5 | 395ms | 786kb | OK | 10 |
6 | 327ms | 786kb | OK | 10 |
7 | 391ms | 786kb | OK | 10 |
8 | 340ms | 786kb | OK | 10 |
9 | 651ms | 655kb | Time limit exceeded | 0 |
10 | 652ms | 655kb | Time limit exceeded | 0 |
Punctaj total | 80 |