Pagini recente » Borderou de evaluare (job #974214) | Borderou de evaluare (job #682487) | Borderou de evaluare (job #1288363) | Borderou de evaluare (job #1194352) | Borderou de evaluare (job #1687814)
Borderou de evaluare (job #1687814)
Raport evaluator
Compilare:
user.cpp: In function ‘void prodh(int*, int*, int*)’:
user.cpp:84: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));
^
user.cpp: In function ‘int main()’:
user.cpp:136:15: warning: left operand of comma operator has no effect [-Wunused-value]
switch(b[i],b[n+1-i]);
^
user.cpp:110:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("next.in","r",stdin);
^
user.cpp:111:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("next.out","w",stdout);
^
user.cpp:118:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir);
^
user.cpp:124:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", & d);
^
/tmp/ccGkKFXk.o: In function `main':
user.cpp:(.text.startup+0xbc): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | Depăşit | Memory limit exceeded. | 0 |
2 | 12ms | Depăşit | Memory limit exceeded. | 0 |
3 | 12ms | Depăşit | Memory limit exceeded. | 0 |
4 | 12ms | Depăşit | Memory limit exceeded. | 0 |
5 | 12ms | Depăşit | Memory limit exceeded. | 0 |
6 | 12ms | Depăşit | Memory limit exceeded. | 0 |
7 | 12ms | Depăşit | Memory limit exceeded. | 0 |
8 | 12ms | Depăşit | Memory limit exceeded. | 0 |
9 | 12ms | Depăşit | Memory limit exceeded. | 0 |
10 | 12ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |