Pagini recente » Borderou de evaluare (job #1592580) | Borderou de evaluare (job #1209649) | Borderou de evaluare (job #2544182) | Borderou de evaluare (job #941518) | Borderou de evaluare (job #1894748)
Borderou de evaluare (job #1894748)
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 | 516kb | OK | 10 |
| 2 | 0ms | 444kb | OK | 10 |
| 3 | 0ms | 520kb | OK | 10 |
| 4 | 0ms | 520kb | OK | 10 |
| 5 | 0ms | 516kb | OK | 10 |
| 6 | 0ms | 516kb | OK | 10 |
| 7 | 4ms | 516kb | OK | 10 |
| 8 | 0ms | 516kb | OK | 10 |
| 9 | 20ms | 516kb | OK | 10 |
| 10 | 24ms | 516kb | OK | 10 |
| Punctaj total | 100 |