Pagini recente » Borderou de evaluare (job #367540) | Borderou de evaluare (job #1070966) | Borderou de evaluare (job #1931397) | Borderou de evaluare (job #1360064) | Borderou de evaluare (job #2665119)
Borderou de evaluare (job #2665119)
Raport evaluator
Compilare:
main.cpp: In function 'long long int calc(int, int)':
main.cpp:31:36: warning: array subscript has type 'char' [-Wchar-subscripts]
for(r=sol[x+1][y-1]+prices[s[x]][s[y]],i=2;i<y-x;i+=2) {
^
main.cpp:31:42: warning: array subscript has type 'char' [-Wchar-subscripts]
for(r=sol[x+1][y-1]+prices[s[x]][s[y]],i=2;i<y-x;i+=2) {
^
main.cpp: In function 'void read()':
main.cpp:17:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n%s",&n,s);
^
main.cpp:23:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&prices[i][j]);
^
main.cpp: In function 'int main()':
main.cpp:47:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("redu.in","r",stdin);
^
main.cpp:48:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("redu.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 3ms | 131kb | OK | 10 |
3 | 3ms | 262kb | OK | 10 |
4 | 4ms | 524kb | OK | 10 |
5 | 23ms | 1310kb | OK | 10 |
6 | 110ms | 2097kb | OK | 10 |
7 | 106ms | 2097kb | OK | 10 |
8 | 109ms | 2228kb | OK | 10 |
9 | 102ms | 2097kb | OK | 10 |
10 | 106ms | 2097kb | OK | 10 |
Punctaj total | 100 |