Pagini recente » Borderou de evaluare (job #696113) | Borderou de evaluare (job #1500899) | Borderou de evaluare (job #3210412) | Borderou de evaluare (job #2508061) | Borderou de evaluare (job #1232654)
Borderou de evaluare (job #1232654)
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 | 440kb | Incorect ! | 0 |
2 | 0ms | 448kb | Incorect ! | 0 |
3 | Depăşit | 424kb | Time limit exceeded. | 0 |
4 | 0ms | 448kb | Incorect ! | 0 |
5 | 76ms | 492kb | Incorect ! | 0 |
6 | Depăşit | 696kb | Time limit exceeded. | 0 |
7 | 32ms | 1328kb | Incorect ! | 0 |
8 | 20ms | 1324kb | Incorect ! | 0 |
9 | Depăşit | 3644kb | Time limit exceeded. | 0 |
10 | Depăşit | 448kb | Time limit exceeded. | 0 |
Punctaj total | 0 |