Pagini recente » Borderou de evaluare (job #2180510) | Borderou de evaluare (job #716037) | Borderou de evaluare (job #2261024) | Borderou de evaluare (job #2548946) | Borderou de evaluare (job #2642553)
Borderou de evaluare (job #2642553)
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:31: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:32: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:34: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:40: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 | 370ms | 393kb | Incorect | 0 |
2 | 346ms | 524kb | Incorect | 0 |
3 | 259ms | 393kb | Incorect | 0 |
4 | 265ms | 262kb | Incorect | 0 |
5 | 465ms | 655kb | Incorect | 0 |
6 | 430ms | 524kb | Incorect | 0 |
7 | 342ms | 262kb | Incorect | 0 |
8 | 320ms | 393kb | Incorect | 0 |
9 | 608ms | 524kb | Incorect | 0 |
10 | 645ms | 655kb | Incorect | 0 |
11 | 240ms | 131kb | Incorect | 0 |
12 | 758ms | 393kb | Incorect | 0 |
13 | 1189ms | 524kb | Incorect | 0 |
14 | 954ms | 655kb | Incorect | 0 |
15 | 245ms | 524kb | Incorect | 0 |
16 | 556ms | 524kb | Incorect | 0 |
17 | 1161ms | 1310kb | Incorect | 0 |
18 | 1122ms | 1310kb | Incorect | 0 |
19 | 1123ms | 1572kb | Incorect | 0 |
20 | 1204ms | 1441kb | Incorect | 0 |
Punctaj total | 0 |