Pagini recente » Borderou de evaluare (job #2684476) | Borderou de evaluare (job #2225457) | Borderou de evaluare (job #229508) | Borderou de evaluare (job #1930847) | Borderou de evaluare (job #1854330)
Borderou de evaluare (job #1854330)
Raport evaluator
Compilare:
user.cpp: In function ‘void baga1(int)’:
user.cpp:72:59: warning: array subscript has type ‘char’ [-Wchar-subscripts]
hsh[j].h1 = (hsh[j].h1 * BAS1 + alf1[str[j][i]]);
^
user.cpp:73:59: warning: array subscript has type ‘char’ [-Wchar-subscripts]
hsh[j].h2 = (hsh[j].h2 * BAS2 + alf2[str[j][i]]); }
^
user.cpp: In function ‘void baga2(int)’:
user.cpp:87:50: warning: array subscript has type ‘char’ [-Wchar-subscripts]
hsh.h1 = hsh.h1 * BAS1 + alf1[str[idx][i]];
^
user.cpp:88:50: warning: array subscript has type ‘char’ [-Wchar-subscripts]
hsh.h2 = hsh.h2 * BAS2 + alf2[str[idx][i]];
^
user.cpp: In function ‘char nextch()’:
user.cpp:42:36: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff, 1, BMAX, stdin); }
^
user.cpp: In function ‘int main()’:
user.cpp:119:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sabin.in", "r", stdin);
^
user.cpp:120:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sabin.out", "w", stdout);
^
user.cpp:123:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d ", &n, &k, &m, &p, &q);
^
user.cpp:128:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", str[j] + 1);
^
user.cpp:132:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", str[i] + 1);
^
user.cpp: In function ‘void init()’:
user.cpp:61:37: warning: iteration 31u invokes undefined behavior [-Waggressive-loop-optimizations]
pwr1[i] = pwr1[i - 1] * BAS1;
^
user.cpp:60:5: note: containing loop
for (int i = 1; i < 256; ++i) {
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 24ms | 1176kb | OK | 10 |
2 | 4ms | 992kb | OK | 10 |
3 | 12ms | 1068kb | OK | 10 |
4 | 200ms | 5328kb | OK | 10 |
5 | 260ms | 6600kb | OK | 10 |
6 | 580ms | 11260kb | OK | 10 |
7 | 688ms | 12636kb | OK | 10 |
8 | 752ms | 12696kb | OK | 10 |
9 | 804ms | 13300kb | OK | 10 |
10 | 796ms | 13300kb | OK | 10 |
Punctaj total | 100 |