Pagini recente » Borderou de evaluare (job #2521684) | Borderou de evaluare (job #2756343) | Borderou de evaluare (job #1280555) | Borderou de evaluare (job #3127590) | Borderou de evaluare (job #2607775)
Borderou de evaluare (job #2607775)
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:21: note: declared here
void sch(int t1[2505],int t2[2505])
^
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:34: note: declared here
void sch(int t1[2505],int t2[2505])
^
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:90: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:91: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:92: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 | 3ms | 655kb | OK | 10 |
| 2 | 5ms | 655kb | OK | 10 |
| 3 | 46ms | 655kb | OK | 10 |
| 4 | 421ms | 655kb | OK | 10 |
| 5 | 393ms | 786kb | OK | 10 |
| 6 | 330ms | 786kb | OK | 10 |
| 7 | 428ms | 786kb | OK | 10 |
| 8 | 345ms | 765kb | OK | 10 |
| 9 | 652ms | 655kb | Time limit exceeded | 0 |
| 10 | 655ms | 655kb | Time limit exceeded | 0 |
| Punctaj total | 80 |