Pagini recente » Borderou de evaluare (job #3166863) | Borderou de evaluare (job #2678353) | Borderou de evaluare (job #3143992) | Borderou de evaluare (job #371866) | Borderou de evaluare (job #2654044)
Borderou de evaluare (job #2654044)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:65:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(register int i=0;i<v.size();i++)
~^~~~~~~~~
main.cpp:80:37: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector<ans>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n%d\n",cost,an.size());
^
main.cpp:81:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(register int i=0;i<an.size();i++)
~^~~~~~~~~~
main.cpp:46:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("apm.in","r",stdin);
^
main.cpp:47:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("apm.out","w",stdout);
^
main.cpp:49:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
main.cpp:52:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&x,&x1,&x2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Corect | 10 |
2 | 2ms | 131kb | Corect | 10 |
3 | 2ms | 131kb | Corect | 10 |
4 | 3ms | 131kb | Corect | 10 |
5 | 3ms | 131kb | Corect | 10 |
6 | 161ms | 2347kb | Corect | 10 |
7 | 258ms | 5496kb | Corect | 10 |
8 | 48ms | 1044kb | Corect | 10 |
9 | 53ms | 1044kb | Corect | 10 |
10 | 245ms | 4046kb | Corect | 10 |
Punctaj total | 100 |