Pagini recente » Borderou de evaluare (job #1768405) | Borderou de evaluare (job #1796300) | Borderou de evaluare (job #814188) | Borderou de evaluare (job #2454803) | Borderou de evaluare (job #1894737)
Borderou de evaluare (job #1894737)
Raport evaluator
Compilare:
user.cpp: In function ‘void conversie(int*, int)’:
user.cpp:28: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(a,0,sizeof(a));
^
user.cpp: In function ‘int main()’:
user.cpp:44:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("factoriale.in","r",stdin);
^
user.cpp:45:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("factoriale.out","w",stdout);
^
user.cpp:46:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:49:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 592kb | OK | 10 |
2 | 0ms | 436kb | OK | 10 |
3 | 0ms | 588kb | OK | 10 |
4 | 0ms | 588kb | Incorect | 0 |
5 | 0ms | 588kb | Incorect | 0 |
6 | 0ms | 592kb | Incorect | 0 |
7 | 0ms | 592kb | Incorect | 0 |
8 | 0ms | 588kb | Incorect | 0 |
9 | Depăşit | 588kb | Time limit exceeded. | 0 |
10 | Depăşit | 552kb | Time limit exceeded. | 0 |
Punctaj total | 30 |