Pagini recente » Borderou de evaluare (job #3234876) | Borderou de evaluare (job #532954) | Borderou de evaluare (job #3209961) | Borderou de evaluare (job #476049) | Borderou de evaluare (job #2076384)
Borderou de evaluare (job #2076384)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:4:11: warning: unused variable ‘first’ [-Wunused-variable]
#define x first
^
user.cpp:29:15: note: in expansion of macro ‘x’
int i,N,M,x,y,sgn2,idx,sgn,vf=0;
^
user.cpp:5:11: warning: unused variable ‘second’ [-Wunused-variable]
#define y second
^
user.cpp:29:17: note: in expansion of macro ‘y’
int i,N,M,x,y,sgn2,idx,sgn,vf=0;
^
user.cpp:32:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d %d",&N,&M);
^
user.cpp:33:64: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i = 1; i <= N; ++i) fscanf(fin,"%d %d",&v[i].x,&v[i].y);
^
user.cpp:34:65: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i = 1; i <= M; ++i) fscanf(fin,"%d",&a[i].x), a[i].y = i;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 2792kb | Incorect | 0 |
| 2 | 12ms | 2856kb | OK | 10 |
| 3 | 32ms | 2984kb | OK | 10 |
| 4 | 84ms | 3300kb | OK | 10 |
| 5 | 244ms | 3980kb | Incorect | 0 |
| 6 | 28ms | 2944kb | Incorect | 0 |
| 7 | 276ms | 4152kb | Incorect | 0 |
| 8 | 300ms | 4268kb | Incorect | 0 |
| 9 | 308ms | 4340kb | Incorect | 0 |
| 10 | 304ms | 4344kb | Incorect | 0 |
| Punctaj total | 30 |