Pagini recente » Borderou de evaluare (job #1662233) | Borderou de evaluare (job #2292902) | Borderou de evaluare (job #2099660) | Borderou de evaluare (job #2827586) | Borderou de evaluare (job #2642556)
Borderou de evaluare (job #2642556)
Raport evaluator
Compilare:
main.cpp: In function 'void desc(long long int, long long int, long long int*)':
main.cpp:21:28: warning: 'sizeof' on array function parameter 'v' will return size of 'long long int*' [-Wsizeof-array-argument]
memset(v , 0 , sizeof(v));
^
main.cpp:19:51: note: declared here
void desc(long long x , long long p , long long v[])
^
main.cpp:21:26: 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(v , 0 , sizeof(v));
^
main.cpp: In function 'int main()':
main.cpp:37:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("jap2.in" , "r" , stdin);
^
main.cpp:38:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("jap2.out" , "w" , stdout);
^
main.cpp:40:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld" , &p , &q);
^
main.cpp:46:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld" , &a , &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 299ms | 1179kb | Incorect | 0 |
2 | 284ms | 1310kb | Incorect | 0 |
3 | 247ms | 1179kb | Incorect | 0 |
4 | 253ms | 1048kb | Incorect | 0 |
5 | 513ms | 1310kb | Incorect | 0 |
6 | 460ms | 1310kb | Incorect | 0 |
7 | 361ms | 1048kb | Incorect | 0 |
8 | 285ms | 1179kb | Incorect | 0 |
9 | 719ms | 1310kb | Incorect | 0 |
10 | 788ms | 1310kb | Incorect | 0 |
11 | 277ms | 1048kb | Incorect | 0 |
12 | 641ms | 1048kb | Incorect | 0 |
13 | 1204ms | 1310kb | Incorect | 0 |
14 | 1200ms | 1310kb | Incorect | 0 |
15 | 273ms | 1048kb | Incorect | 0 |
16 | 549ms | 1130kb | Incorect | 0 |
17 | 1162ms | 1572kb | Incorect | 0 |
18 | 1334ms | 1441kb | Incorect | 0 |
19 | 1267ms | 1544kb | Incorect | 0 |
20 | 1302ms | 1548kb | Incorect | 0 |
Punctaj total | 0 |