Pagini recente » Borderou de evaluare (job #2150302) | Borderou de evaluare (job #2057968) | Borderou de evaluare (job #2876305) | Borderou de evaluare (job #1503023) | Borderou de evaluare (job #1811090)
Borderou de evaluare (job #1811090)
Raport evaluator
Compilare:
user.cpp: In function ‘void Read()’:
user.cpp:21:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&N,&M,&K);
^
user.cpp:24:81: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d %d", &a[i].x1, &a[i].y1, &a[i].x2, &a[i].y2, &a[i].v);
^
user.cpp: In function ‘int main()’:
user.cpp:106:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dreptunghiuri3.in","r",stdin);
^
user.cpp:107:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dreptunghiuri3.out","w",stdout);
^
user.cpp:134:88: warning: ‘nr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
else if( v[i][j] == ans ) nr += 1LL * ( fx[i+1] - fx[i] ) * ( fy[j+1] - fy[j] );
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 364kb | OK | 5 |
| 2 | 0ms | 420kb | OK | 5 |
| 3 | 0ms | 616kb | OK | 5 |
| 4 | 0ms | 648kb | OK | 5 |
| 5 | 0ms | 2004kb | OK | 5 |
| 6 | 0ms | 2004kb | OK | 5 |
| 7 | 8ms | 5660kb | OK | 5 |
| 8 | 8ms | 5388kb | OK | 5 |
| 9 | 20ms | 9496kb | OK | 5 |
| 10 | 20ms | 9644kb | OK | 5 |
| 11 | 40ms | 15944kb | OK | 5 |
| 12 | 40ms | 15944kb | OK | 5 |
| 13 | 40ms | 15944kb | Incorect | 0 |
| 14 | 40ms | 15944kb | Incorect | 0 |
| 15 | 40ms | 15944kb | Incorect | 0 |
| 16 | 40ms | 15944kb | Incorect | 0 |
| 17 | 40ms | 15944kb | Incorect | 0 |
| 18 | 40ms | 15940kb | Incorect | 0 |
| 19 | 40ms | 15940kb | Incorect | 0 |
| 20 | 40ms | 15944kb | Incorect | 0 |
| Punctaj total | 60 |