Pagini recente » Borderou de evaluare (job #1824846) | Borderou de evaluare (job #2112635)
Borderou de evaluare (job #2112635)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int getrez(long long int, long long int, bool, char)’:
user.cpp:42:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return (long long)frA[pos][c];
^
user.cpp:44:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return (long long)fra[pos][c];
^
user.cpp:54:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
rez += frAfter1Stage[c] << (stage - 2);
^
user.cpp: In function ‘int main()’:
user.cpp:65:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
frAfter1Stage[C[i]]++;
^
user.cpp:60:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d\n",&N,&Q);
^
user.cpp:61:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(C + 1,100005,f);
^
user.cpp:84:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%lld",&pos);
^
user.cpp: In function ‘long long int getrez(long long int, long long int, bool, char)’:
user.cpp:42:41: warning: array subscript is above array bounds [-Warray-bounds]
return (long long)frA[pos][c];
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:1:
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:61:26:
/usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default]
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | Partial corect | 4 |
2 | 0ms | 276kb | Partial corect | 2 |
3 | 0ms | 312kb | Partial corect | 2 |
4 | 0ms | 328kb | Partial corect | 2 |
5 | 72ms | 784kb | Partial corect | 2 |
6 | 80ms | 1088kb | Partial corect | 2 |
7 | 92ms | 1292kb | Partial corect | 2 |
8 | 104ms | 1500kb | Partial corect | 2 |
9 | 4ms | 688kb | Partial corect | 2 |
10 | 4ms | 892kb | Partial corect | 2 |
11 | 4ms | 648kb | Partial corect | 2 |
12 | 4ms | 828kb | Corect | 5 |
13 | 96ms | 4352kb | Partial corect | 2 |
14 | 108ms | 7420kb | Partial corect | 2 |
15 | 128ms | 14560kb | Partial corect | 2 |
16 | 152ms | 17632kb | Partial corect | 2 |
17 | 176ms | 18644kb | Partial corect | 2 |
18 | 204ms | 19664kb | Corect | 5 |
19 | 212ms | 20684kb | Corect | 5 |
Punctaj total | 49 |