Pagini recente » Cod sursa (job #1927313) | Cod sursa (job #2497378) | Cod sursa (job #2933033) | Monitorul de evaluare | Borderou de evaluare (job #1342482)
Borderou de evaluare (job #1342482)
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 | 0ms | 472kb | OK | 10 |
| 2 | 0ms | 416kb | OK | 10 |
| 3 | 0ms | 472kb | OK | 10 |
| 4 | 0ms | 440kb | OK | 10 |
| 5 | 0ms | 452kb | OK | 10 |
| 6 | 0ms | 448kb | OK | 10 |
| 7 | 0ms | 448kb | OK | 10 |
| 8 | 0ms | 468kb | OK | 10 |
| 9 | 0ms | 400kb | OK | 10 |
| 10 | 0ms | 396kb | OK | 10 |
| Punctaj total | 100 |