Pagini recente » Borderou de evaluare (job #1564064) | Borderou de evaluare (job #1749919) | Borderou de evaluare (job #244618) | Borderou de evaluare (job #2286244) | Borderou de evaluare (job #1759528)
Borderou de evaluare (job #1759528)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:20: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100]’ [-Wformat=]
scanf("%s" , &B);
^
user.cpp: In function ‘void trans(long long int*, long long int)’:
user.cpp:169: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:21: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:23: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(long long int, long long int)’:
user.cpp:147: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 | 428kb | OK | 4 |
| 2 | 0ms | 432kb | OK | 4 |
| 3 | 0ms | 432kb | Incorect | 0 |
| 4 | 0ms | 432kb | Incorect | 0 |
| 5 | 0ms | 428kb | OK | 4 |
| 6 | 0ms | 436kb | OK | 4 |
| 7 | 0ms | 436kb | OK | 4 |
| 8 | Depăşit | 400kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 400kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 400kb | Time limit exceeded. | 0 |
| 11 | 0ms | 436kb | OK | 4 |
| 12 | Depăşit | 400kb | Time limit exceeded. | 0 |
| 13 | 0ms | 432kb | Incorect | 0 |
| 14 | Depăşit | 400kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 396kb | Time limit exceeded. | 0 |
| 16 | 0ms | 428kb | OK | 4 |
| 17 | 0ms | 428kb | OK | 4 |
| 18 | Depăşit | 400kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 404kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 400kb | Time limit exceeded. | 0 |
| 21 | Depăşit | 400kb | Time limit exceeded. | 0 |
| 22 | Depăşit | 400kb | Time limit exceeded. | 0 |
| 23 | Depăşit | 400kb | Time limit exceeded. | 0 |
| 24 | Depăşit | 396kb | Time limit exceeded. | 0 |
| 25 | Depăşit | 400kb | Time limit exceeded. | 0 |
| Punctaj total | 32 |