Pagini recente » Borderou de evaluare (job #2728439) | Borderou de evaluare (job #743937) | Borderou de evaluare (job #996570) | Borderou de evaluare (job #521756) | Borderou de evaluare (job #2665118)
Borderou de evaluare (job #2665118)
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) {
^
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) {
^
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 | 3ms | 131kb | Incorect | 0 |
2 | 3ms | 131kb | Incorect | 0 |
3 | 3ms | 262kb | Incorect | 0 |
4 | 4ms | 524kb | Incorect | 0 |
5 | 42ms | 1441kb | Incorect | 0 |
6 | 152ms | 2097kb | Time limit exceeded | 0 |
7 | 152ms | 2097kb | Time limit exceeded | 0 |
8 | 152ms | 2097kb | Time limit exceeded | 0 |
9 | 152ms | 2097kb | Time limit exceeded | 0 |
10 | 153ms | 2097kb | Time limit exceeded | 0 |
Punctaj total | 0 |