Pagini recente » Borderou de evaluare (job #52331) | Borderou de evaluare (job #682559) | Borderou de evaluare (job #1085781) | Borderou de evaluare (job #3139885) | Borderou de evaluare (job #2701673)
Borderou de evaluare (job #2701673)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:23:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("dunarea.in","r",stdin);
^
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("dunarea.out","w",stdout);
^
main.cpp:27:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&a,&b,&n);
^
main.cpp:30:39: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&v[i].x,&v[i].y);
^
main.cpp:45:17: warning: 'ult.interval::y' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(b>=ult.x && b<=ult.y){
~~~~~~~~~^~~~~~~~~~~
main.cpp:45:5: warning: 'ult.interval::x' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(b>=ult.x && b<=ult.y){
^~
main.cpp:57:20: warning: 'poz' may be used uninitialized in this function [-Wmaybe-uninitialized]
ult.x=v[poz-1].x;
~~~^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | OK | 10 |
2 | 3ms | 131kb | OK | 10 |
3 | 101ms | 131kb | Time limit exceeded | 0 |
4 | 2ms | 131kb | Incorect | 0 |
5 | 100ms | 131kb | Time limit exceeded | 0 |
6 | 101ms | 131kb | Time limit exceeded | 0 |
7 | 101ms | 131kb | Time limit exceeded | 0 |
8 | 7ms | 131kb | Incorect | 0 |
9 | 103ms | 131kb | Time limit exceeded | 0 |
10 | 2ms | 131kb | OK | 10 |
Punctaj total | 30 |