Pagini recente » Borderou de evaluare (job #1264469) | Borderou de evaluare (job #2442565) | Borderou de evaluare (job #277159) | Borderou de evaluare (job #1214798) | Borderou de evaluare (job #1288958)
Borderou de evaluare (job #1288958)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:71: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:72: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:44: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:45: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:47:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:48: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 | 432kb | Corect! | 10 |
2 | 0ms | 432kb | Corect! | 10 |
3 | 0ms | 432kb | Corect! | 10 |
4 | 0ms | 432kb | Corect! | 10 |
5 | 0ms | 460kb | Corect! | 10 |
6 | 4ms | 488kb | Corect! | 10 |
7 | 4ms | 492kb | Corect! | 10 |
8 | 28ms | 644kb | Corect! | 10 |
9 | 32ms | 648kb | Corect! | 10 |
10 | 32ms | 648kb | Corect! | 10 |
Punctaj total | 100 |