Pagini recente » Borderou de evaluare (job #1346095) | Borderou de evaluare (job #103091) | Borderou de evaluare (job #148042) | Borderou de evaluare (job #1074883) | Borderou de evaluare (job #2441769)
Borderou de evaluare (job #2441769)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:46:26: warning: format '%lf' expects argument of type 'double', but argument 2 has type 'long double' [-Wformat=]
printf("%lf",d[n]);
^
main.cpp:77:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(pz>=v1.size()-1) pz--;
~~^~~~~~~~~~~~~
main.cpp:84:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(pz<v1.size()-1 && sum[j]>intersectie(v1[pz],v1[pz+1])) pz++;
~~^~~~~~~~~~~~
main.cpp:90:22: warning: format '%lf' expects argument of type 'double', but argument 2 has type 'long double' [-Wformat=]
printf("%lf",d[n]);
^
main.cpp:24:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("niciomare.in","r",stdin);
^
main.cpp:25:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("niciomare.out","w",stdout);
^
main.cpp:27:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&k1,&s);
^
main.cpp:28:44: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++) scanf("%d",&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 63ms | 131kb | Incorect | 0 | 0 |
| 2 | 72ms | 131kb | Incorect | 0 |
| 3 | 70ms | 131kb | Incorect | 0 |
| 4 | 108ms | 131kb | Incorect | 0 |
| 5 | 132ms | 131kb | Incorect | 0 |
| 6 | 53ms | 131kb | Incorect | 0 |
| 7 | 83ms | 131kb | Incorect | 0 |
| 8 | 89ms | 131kb | Incorect | 0 |
| 9 | 124ms | 131kb | Incorect | 0 |
| 10 | 32ms | 2883kb | Incorect | 0 | 0 |
| 11 | 40ms | 2883kb | Incorect | 0 |
| 12 | 39ms | 2883kb | Incorect | 0 |
| 13 | 38ms | 2883kb | Incorect | 0 |
| 14 | 25ms | 1310kb | Incorect | 0 |
| 15 | 25ms | 1310kb | Incorect | 0 |
| 16 | 22ms | 655kb | Incorect | 0 |
| 17 | 23ms | 655kb | Incorect | 0 |
| 18 | 39ms | 2883kb | Incorect | 0 |
| 19 | 158ms | 1835kb | Incorect | 0 | 0 |
| 20 | 202ms | 655kb | Incorect | 0 |
| 21 | 147ms | 655kb | Incorect | 0 |
| 22 | 2449ms | 5767kb | Incorect | 0 | 0 |
| 23 | 2207ms | 5767kb | Incorect | 0 |
| 24 | 1821ms | 5763kb | Incorect | 0 |
| 25 | 1867ms | 5767kb | Incorect | 0 |
| 26 | 1978ms | 5775kb | Incorect | 0 |
| 27 | 1776ms | 5767kb | Incorect | 0 |
| 28 | 1846ms | 5767kb | Incorect | 0 |
| 29 | 1842ms | 5775kb | Incorect | 0 |
| 30 | 1746ms | 5767kb | Incorect | 0 |
| Punctaj total | 0 |