Pagini recente » Borderou de evaluare (job #492482) | Borderou de evaluare (job #2747227) | Borderou de evaluare (job #516510) | Borderou de evaluare (job #160794) | Borderou de evaluare (job #1255623)
Borderou de evaluare (job #1255623)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:28: warning: unused variable ‘j’ [-Wunused-variable]
int pos, len, i, last, j;
^
user.cpp:29:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("propozitie.in", "r", stdin);
^
user.cpp:30:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("propozitie.out", "w", stdout);
^
user.cpp:33:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n%s", &len, &k, txt + 1);
^
user.cpp: In function ‘int bs(int, int, int)’:
user.cpp:25:12: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return last;
^
user.cpp: In function ‘int main()’:
user.cpp:42:37: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
d[i] = (2 * d[i - 1] - d[pos] + 1) % MOD;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 248kb | OK | 10 |
2 | 0ms | 248kb | Incorect | 0 |
3 | 0ms | 248kb | Incorect | 0 |
4 | 0ms | 248kb | Incorect | 0 |
5 | 0ms | 252kb | Incorect | 0 |
6 | 4ms | 696kb | Incorect | 0 |
7 | 4ms | 780kb | Incorect | 0 |
8 | 8ms | 868kb | Incorect | 0 |
9 | 8ms | 960kb | Incorect | 0 |
10 | 8ms | 1120kb | Incorect | 0 |
Punctaj total | 10 |