Pagini recente » Borderou de evaluare (job #1101685) | Borderou de evaluare (job #1489159) | Borderou de evaluare (job #2196478) | Borderou de evaluare (job #2220846) | Borderou de evaluare (job #1759529)
Borderou de evaluare (job #1759529)
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 | 404kb | OK | 4 |
| 2 | 0ms | 412kb | OK | 4 |
| 3 | 0ms | 416kb | Incorect | 0 |
| 4 | 0ms | 412kb | Incorect | 0 |
| 5 | 0ms | 416kb | OK | 4 |
| 6 | 0ms | 416kb | OK | 4 |
| 7 | 0ms | 420kb | OK | 4 |
| 8 | 0ms | 420kb | OK | 4 |
| 9 | 0ms | 420kb | OK | 4 |
| 10 | Depăşit | 384kb | Time limit exceeded. | 0 |
| 11 | 0ms | 416kb | OK | 4 |
| 12 | 0ms | 384kb | Killed by signal 11(SIGSEGV). | 0 |
| 13 | 0ms | 412kb | OK | 4 |
| 14 | 0ms | 412kb | OK | 4 |
| 15 | 0ms | 416kb | OK | 4 |
| 16 | 0ms | 412kb | OK | 4 |
| 17 | 0ms | 412kb | OK | 4 |
| 18 | 0ms | 388kb | Killed by signal 11(SIGSEGV). | 0 |
| 19 | 0ms | 416kb | OK | 4 |
| 20 | 0ms | 388kb | Killed by signal 11(SIGSEGV). | 0 |
| 21 | Depăşit | 388kb | Time limit exceeded. | 0 |
| 22 | Depăşit | 392kb | Time limit exceeded. | 0 |
| 23 | 0ms | 384kb | Killed by signal 11(SIGSEGV). | 0 |
| 24 | Depăşit | 388kb | Time limit exceeded. | 0 |
| 25 | 0ms | 388kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 56 |