Borderou de evaluare (job #1232647)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:55:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ant = t[ant];
^
user.cpp:81:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d",ans[i]);
^
user.cpp:83: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:44: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:45: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:47: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:48:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:49: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 | 448kb | Incorect ! | 0 |
3 | Depăşit | 432kb | Time limit exceeded. | 0 |
4 | 0ms | 452kb | Incorect ! | 0 |
5 | 84ms | 488kb | Incorect ! | 0 |
6 | Depăşit | 688kb | Time limit exceeded. | 0 |
7 | 36ms | 1328kb | Incorect ! | 0 |
8 | 24ms | 1328kb | Incorect ! | 0 |
9 | Depăşit | 3644kb | Time limit exceeded. | 0 |
10 | Depăşit | 440kb | Time limit exceeded. | 0 |
Punctaj total | 0 |