Pagini recente » Borderou de evaluare (job #1833671) | Borderou de evaluare (job #419269) | Borderou de evaluare (job #428319) | Borderou de evaluare (job #2381457) | Borderou de evaluare (job #1232648)
Borderou de evaluare (job #1232648)
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 | Depăşit | 428kb | Time limit exceeded. | 0 |
4 | 0ms | 444kb | Incorect ! | 0 |
5 | 80ms | 484kb | Incorect ! | 0 |
6 | Depăşit | 692kb | Time limit exceeded. | 0 |
7 | 32ms | 1320kb | Incorect ! | 0 |
8 | 24ms | 1328kb | Incorect ! | 0 |
9 | Depăşit | 3648kb | Time limit exceeded. | 0 |
10 | Depăşit | 448kb | Time limit exceeded. | 0 |
Punctaj total | 0 |