Pagini recente » Borderou de evaluare (job #552218) | Borderou de evaluare (job #208472) | Borderou de evaluare (job #1962848) | Borderou de evaluare (job #2481154) | Borderou de evaluare (job #2166991)
Borderou de evaluare (job #2166991)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:5:11: warning: unused variable ‘first’ [-Wunused-variable]
#define x first
^
user.cpp:39:13: note: in expansion of macro ‘x’
int n,k,x,y,nr=0;
^
user.cpp:6:11: warning: unused variable ‘second’ [-Wunused-variable]
#define y second
^
user.cpp:39:15: note: in expansion of macro ‘y’
int n,k,x,y,nr=0;
^
user.cpp:37:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ghizi.in", "r", stdin);
^
user.cpp:38:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ghizi.out", "w", stdout);
^
user.cpp:40:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:43:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&v1[i].x,&v1[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2460kb | OK | 10 |
2 | 4ms | 2368kb | OK | 10 |
3 | 4ms | 2488kb | OK | 10 |
4 | 4ms | 2500kb | OK | 10 |
5 | 4ms | 2436kb | OK | 10 |
6 | 4ms | 2488kb | OK | 10 |
7 | 4ms | 2528kb | OK | 10 |
8 | 4ms | 2584kb | OK | 10 |
9 | 4ms | 2432kb | OK | 10 |
10 | 4ms | 2456kb | OK | 10 |
Punctaj total | 100 |