Borderou de evaluare (job #2300343)

Utilizator Robert_VRVRobert Vadastreanu Robert_VRV Data 11 decembrie 2018 10:41:00
Problema Cablaj Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:62: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: In member function 'char InParser::read_ch()': main.cpp:15:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(buff, 1, 4096, fin); ^ main.cpp: In function 'int main()': main.cpp:54: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:74:9: note: 'j' was declared here int j; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbOK10
34ms131kbOK10
426ms131kbOK10
551ms131kbOK10
6114ms262kbOK10
7170ms131kbOK10
8274ms131kbOK10
9303ms131kbTime limit exceeded0
10300ms131kbTime limit exceeded0
Punctaj total80

Ceva nu functioneaza?