Pagini recente » Borderou de evaluare (job #857391) | Borderou de evaluare (job #2514658) | Borderou de evaluare (job #1159669) | Borderou de evaluare (job #1411294) | Borderou de evaluare (job #1954653)
Borderou de evaluare (job #1954653)
Raport evaluator
Compilare:
user.cpp:10:1: warning: ‘typedef’ was ignored in this declaration [enabled by default]
};
^
user.cpp: In function ‘int main()’:
user.cpp:63:63: warning: narrowing conversion of ‘std::max<int>((* &0), (*(const int*)(& z)))’ from ‘const int’ to ‘unsigned int’ inside { } [-Wnarrowing]
mijloace3.push_back({points1[i],nrp,max(0,z),max(0,t)}); //Pentru fiecare mijloc posibil retinem coordonata, // numarul de dreptunghiuri si pe cel maxim
^
user.cpp:63:63: warning: narrowing conversion of ‘std::max<int>((* &0), (*(const int*)(& t)))’ from ‘const int’ to ‘unsigned int’ inside { } [-Wnarrowing]
user.cpp:82:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(sol<sz && mijloace[sol].point<points2[i]) sol++;
^
user.cpp:83:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(sol==-1 || mijloace[sol].point!=points2[i]) continue;
^
user.cpp:107:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(sol<sz && mijloace[sol].point<y) sol++;
^
user.cpp:55: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:56: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:18:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u%u%u",&x1,&d1,&n1);
^
user.cpp:19:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u%u%u",&x2,&d2,&n2);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 564kb | Incorect | 0 |
| 2 | 0ms | 440kb | OK | 10 |
| 3 | 0ms | 564kb | OK | 10 |
| 4 | 0ms | 468kb | OK | 10 |
| 5 | 140ms | 44900kb | OK | 10 |
| 6 | 204ms | 51936kb | OK | 10 |
| 7 | 0ms | 448kb | OK | 10 |
| 8 | 160ms | 51932kb | OK | 10 |
| 9 | 196ms | 51940kb | OK | 10 |
| 10 | 4ms | 1700kb | OK | 10 |
| Punctaj total | 90 |