Pagini recente » Borderou de evaluare (job #3148692) | Borderou de evaluare (job #3153523) | Borderou de evaluare (job #1769497) | Borderou de evaluare (job #1624577) | Borderou de evaluare (job #1266744)
Borderou de evaluare (job #1266744)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:32:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("puncte.in", "r", stdin);
^
user.cpp:33:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("puncte.out", "w", stdout);
^
user.cpp:36:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:38:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x[i].x, &x[i].y);
^
user.cpp:52:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &xcoord);
^
user.cpp:62:104: warning: ‘sol’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%lld\n", ((long long) (x[sol].x - xcoord) * (x[sol].x - xcoord) + (long long) x[sol].y * x[sol].y));
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 444kb | Incorect | 0 |
2 | 8ms | 456kb | Incorect | 0 |
3 | 28ms | 496kb | Incorect | 0 |
4 | 84ms | 592kb | Incorect | 0 |
5 | 252ms | 1200kb | Incorect | 0 |
6 | 24ms | 476kb | Incorect | 0 |
7 | 288ms | 1192kb | Incorect | 0 |
8 | 308ms | 1220kb | Incorect | 0 |
9 | 320ms | 1228kb | Incorect | 0 |
10 | 320ms | 1224kb | Incorect | 0 |
Punctaj total | 0 |