Pagini recente » Borderou de evaluare (job #125138) | Borderou de evaluare (job #3277280) | Borderou de evaluare (job #366127) | Borderou de evaluare (job #3284260) | Borderou de evaluare (job #2701672)
Borderou de evaluare (job #2701672)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:22: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:23: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:26: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:46:17: warning: 'ult.interval::y' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(b>=ult.x && b<=ult.y){
~~~~~~~~~^~~~~~~~~~~
main.cpp:46:5: warning: 'ult.interval::x' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(b>=ult.x && b<=ult.y){
^~
main.cpp:54:30: warning: 'poz' may be used uninitialized in this function [-Wmaybe-uninitialized]
while(poz<=n && v[poz].x <= ult.y){
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 3ms | 131kb | OK | 10 |
3 | 101ms | 131kb | Time limit exceeded | 0 |
4 | 3ms | 131kb | Incorect | 0 |
5 | 101ms | 131kb | Time limit exceeded | 0 |
6 | 101ms | 131kb | Time limit exceeded | 0 |
7 | 100ms | 131kb | Time limit exceeded | 0 |
8 | 7ms | 131kb | Incorect | 0 |
9 | 101ms | 131kb | Time limit exceeded | 0 |
10 | 2ms | 131kb | OK | 10 |
Punctaj total | 30 |