Pagini recente » Borderou de evaluare (job #2716254) | Borderou de evaluare (job #2418570) | Cod sursa (job #859246) | Borderou de evaluare (job #2851755) | Borderou de evaluare (job #2121152)
Borderou de evaluare (job #2121152)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:84:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(good[c]) acc = (acc * 128 + c) % MOD;
^
user.cpp:85:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!good[c] && acc) add(acc, i), acc = 0, num[i]++;
^
user.cpp:81:14: warning: variable ‘prev’ set but not used [-Wunused-but-set-variable]
char prev = ' ', c = fgetc(fi);
^
user.cpp:78:42: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d%d%d%d", &n, &a, &r, &k);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1340kb | OK | 10 |
| 2 | 0ms | 1352kb | OK | 10 |
| 3 | 0ms | 1436kb | OK | 10 |
| 4 | 0ms | 1548kb | OK | 10 |
| 5 | 8ms | 1996kb | Incorect | 0 |
| 6 | 16ms | 2580kb | Incorect | 0 |
| 7 | 28ms | 2956kb | Incorect | 0 |
| 8 | 72ms | 3808kb | Partial incorect | 5 |
| 9 | 24ms | 2312kb | OK | 10 |
| 10 | 76ms | 3828kb | Incorect | 0 |
| Punctaj total | 55 |