Pagini recente » Borderou de evaluare (job #1891607) | Borderou de evaluare (job #2876427) | Borderou de evaluare (job #1339889) | Borderou de evaluare (job #733908) | Borderou de evaluare (job #1232660)
Borderou de evaluare (job #1232660)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:56:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ant = t[ant];
^
user.cpp:82:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d",ans[i]);
^
user.cpp:84:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
for(i=def;i;i--) printf("%d",ans[i]);
^
user.cpp:45:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("palindrom3.in","r",stdin);
^
user.cpp:46:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("palindrom3.out","w",stdout);
^
user.cpp:48:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=0;i<10;i++) scanf("%ld",&t[i]);
^
user.cpp:49:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:50:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n%ld",s,&k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 436kb | Incorect ! | 0 |
2 | 0ms | 440kb | Incorect ! | 0 |
3 | 0ms | 452kb | Valoare incorecta cerinta 2 ! | 2 |
4 | 0ms | 448kb | Incorect ! | 0 |
5 | 156ms | 488kb | Incorect ! | 0 |
6 | Depăşit | 692kb | Time limit exceeded. | 0 |
7 | 44ms | 1324kb | Incorect ! | 0 |
8 | 20ms | 1324kb | Incorect ! | 0 |
9 | Depăşit | 3648kb | Time limit exceeded. | 0 |
10 | Depăşit | 440kb | Time limit exceeded. | 0 |
Punctaj total | 2 |