Pagini recente » Borderou de evaluare (job #3268163) | Borderou de evaluare (job #1619603) | Borderou de evaluare (job #1841615) | Borderou de evaluare (job #1148364) | 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 |