Pagini recente » Borderou de evaluare (job #1861508) | Borderou de evaluare (job #557530) | Borderou de evaluare (job #99430) | Borderou de evaluare (job #3180148) | Borderou de evaluare (job #2642559)
Borderou de evaluare (job #2642559)
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:50: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 | 197ms | 1966kb | OK | 5 |
2 | 197ms | 2097kb | OK | 5 |
3 | 167ms | 1966kb | OK | 5 |
4 | 162ms | 1966kb | OK | 5 |
5 | 249ms | 2228kb | OK | 5 |
6 | 220ms | 2228kb | OK | 5 |
7 | 163ms | 1835kb | OK | 5 |
8 | 181ms | 2097kb | OK | 5 |
9 | 261ms | 2179kb | OK | 5 |
10 | 246ms | 2228kb | OK | 5 |
11 | 138ms | 1835kb | OK | 5 |
12 | 228ms | 1966kb | OK | 5 |
13 | 319ms | 2097kb | OK | 5 |
14 | 303ms | 2228kb | OK | 5 |
15 | 168ms | 1835kb | OK | 5 |
16 | 201ms | 1966kb | OK | 5 |
17 | 395ms | 2359kb | OK | 5 |
18 | 338ms | 2359kb | OK | 5 |
19 | 398ms | 2359kb | OK | 5 |
20 | 349ms | 2359kb | OK | 5 |
Punctaj total | 100 |