Pagini recente » Borderou de evaluare (job #1900089) | Borderou de evaluare (job #1786159) | Borderou de evaluare (job #2808230) | Borderou de evaluare (job #2889601) | Borderou de evaluare (job #2300341)
Borderou de evaluare (job #2300341)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:20:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cablaj.in", "r", stdin);
^
main.cpp:21:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cablaj.out", "w", stdout);
^
main.cpp:24:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:26:46: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &points[i].x, &points[i].y);
^
main.cpp:13:78: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized]
return sqrt((this->x - other.x) * (this->x - other.x) + (this->y - other.y) * (this->y - other.y));
~~~~~~^
main.cpp:33:9: note: 'j' was declared here
int j;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 3ms | 131kb | OK | 10 |
3 | 4ms | 131kb | OK | 10 |
4 | 27ms | 131kb | OK | 10 |
5 | 52ms | 131kb | OK | 10 |
6 | 116ms | 131kb | OK | 10 |
7 | 181ms | 131kb | OK | 10 |
8 | 285ms | 131kb | OK | 10 |
9 | 303ms | 131kb | Time limit exceeded | 0 |
10 | 300ms | 131kb | Time limit exceeded | 0 |
Punctaj total | 80 |