Pagini recente » Borderou de evaluare (job #2712491) | Borderou de evaluare (job #3339131) | Borderou de evaluare (job #2735815) | Borderou de evaluare (job #1822635) | Borderou de evaluare (job #1954666)
Borderou de evaluare (job #1954666)
Raport evaluator
Compilare:
user.cpp:12:1: warning: ‘typedef’ was ignored in this declaration [enabled by default]
};
^
user.cpp: In function ‘int main()’:
user.cpp:79:109: warning: narrowing conversion of ‘nrp’ from ‘long long int’ to ‘int’ inside { } [-Wnarrowing]
mijloace3.push_back({points1[i],nrp,points1[i+nrp]-points1[i-nrp],points1[i+nrp-1]-points1[i-nrp+1]}); //Pentru fiecare mijloc posibil retinem coordonata, // numarul de dreptunghiuri si pe cel maxim
^
user.cpp:84:129: warning: narrowing conversion of ‘nrp’ from ‘long long int’ to ‘int’ inside { } [-Wnarrowing]
mijloace2.push_back({(points1[i]+points1[i+1])>>1,nrp,points1[i+nrp]-points1[i-nrp+1],points1[i+nrp-1]-points1[i-nrp+2]});
^
user.cpp:94:109: warning: narrowing conversion of ‘nrp’ from ‘long long int’ to ‘int’ inside { } [-Wnarrowing]
mijloace2.push_back({points2[i],nrp,points2[i+nrp]-points2[i-nrp],points2[i+nrp-1]-points2[i-nrp+1]}); //Pentru fiecare mijloc posibil retinem coordonata, // numarul de dreptunghiuri si pe cel maxim
^
user.cpp:122:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(sol<sz && mijloace[sol].point<y) sol++;
^
user.cpp:125:129: warning: narrowing conversion of ‘nrp’ from ‘long long int’ to ‘int’ inside { } [-Wnarrowing]
mijloace2.push_back({(points2[i]+points2[i+1])>>1,nrp,points2[i+nrp]-points2[i-nrp+1],points2[i+nrp-1]-points2[i-nrp+2]});
^
user.cpp:73:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trapeze2.in","r",stdin);
^
user.cpp:74:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trapeze2.out","w",stdout);
^
user.cpp: In function ‘void ReadInput()’:
user.cpp:21:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld",&x1,&d1,&n1);
^
user.cpp:22:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld",&x2,&d2,&n2);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 784kb | Incorect | 0 |
| 2 | 0ms | 436kb | OK | 10 |
| 3 | 0ms | 564kb | Incorect | 0 |
| 4 | 0ms | 480kb | Incorect | 0 |
| 5 | 192ms | 65516kb | OK | 10 |
| 6 | 164ms | Depăşit | Memory limit exceeded. | 0 |
| 7 | 0ms | 444kb | OK | 10 |
| 8 | 168ms | Depăşit | Memory limit exceeded. | 0 |
| 9 | 164ms | Depăşit | Memory limit exceeded. | 0 |
| 10 | 4ms | 2332kb | OK | 10 |
| Punctaj total | 40 |