Pagini recente » Borderou de evaluare (job #2471690) | Borderou de evaluare (job #359779) | Borderou de evaluare (job #3033557) | Borderou de evaluare (job #1801631) | Borderou de evaluare (job #1759531)
Borderou de evaluare (job #1759531)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:20: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1000]’ [-Wformat=]
scanf("%s" , &B);
^
user.cpp: In function ‘void trans(int*, long long int)’:
user.cpp:172:27: 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:23:56: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("infinitepatternmatching.in" , "r" , stdin);
^
user.cpp:25:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s" , &B);
^
user.cpp: In function ‘void verif2(int, int)’:
user.cpp:150:31: warning: ‘dif’ may be used uninitialized in this function [-Wmaybe-uninitialized]
ans = min (ans , calc(nr) + dif - n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 424kb | OK | 4 |
2 | 0ms | 444kb | OK | 4 |
3 | 0ms | 444kb | Incorect | 0 |
4 | 0ms | 440kb | Incorect | 0 |
5 | 0ms | 448kb | OK | 4 |
6 | 0ms | 448kb | OK | 4 |
7 | 0ms | 448kb | OK | 4 |
8 | 0ms | 452kb | OK | 4 |
9 | 0ms | 444kb | OK | 4 |
10 | Depăşit | 408kb | Time limit exceeded. | 0 |
11 | 0ms | 444kb | OK | 4 |
12 | Depăşit | 404kb | Time limit exceeded. | 0 |
13 | 0ms | 444kb | OK | 4 |
14 | 0ms | 448kb | OK | 4 |
15 | 0ms | 444kb | OK | 4 |
16 | 0ms | 448kb | OK | 4 |
17 | 0ms | 452kb | OK | 4 |
18 | Depăşit | 404kb | Time limit exceeded. | 0 |
19 | 0ms | 444kb | OK | 4 |
20 | Depăşit | 408kb | Time limit exceeded. | 0 |
21 | Depăşit | 408kb | Time limit exceeded. | 0 |
22 | Depăşit | 404kb | Time limit exceeded. | 0 |
23 | Depăşit | 400kb | Time limit exceeded. | 0 |
24 | Depăşit | 400kb | Time limit exceeded. | 0 |
25 | Depăşit | 408kb | Time limit exceeded. | 0 |
Punctaj total | 56 |