Pagini recente » Borderou de evaluare (job #1078072) | Borderou de evaluare (job #2482743) | Borderou de evaluare (job #2613606) | Borderou de evaluare (job #1771734) | Borderou de evaluare (job #1288956)
Borderou de evaluare (job #1288956)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:67:32: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘std::vector<char>::size_type {aka unsigned int}’ [-Wformat=]
printf("%ld\n",Ans.size()-1);
^
user.cpp:68:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<Ans.size()-1;i++) printf("%c",Ans[i]);
^
user.cpp:40:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tdeque.in","r",stdin);
^
user.cpp:41:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tdeque.out","w",stdout);
^
user.cpp:43:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:44:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++) scanf("%ld",&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 428kb | Corect! | 10 |
| 2 | 0ms | 436kb | Corect! | 10 |
| 3 | 0ms | 432kb | Corect! | 10 |
| 4 | 0ms | 436kb | Corect! | 10 |
| 5 | 0ms | 460kb | Corect! | 10 |
| 6 | 4ms | 492kb | Corect! | 10 |
| 7 | 8ms | 492kb | Corect! | 10 |
| 8 | 32ms | 644kb | Corect! | 10 |
| 9 | 28ms | 648kb | Corect! | 10 |
| 10 | 32ms | 644kb | Corect! | 10 |
| Punctaj total | 100 |