Pagini recente » Borderou de evaluare (job #765988) | Borderou de evaluare (job #2723217) | Borderou de evaluare (job #2848146) | Borderou de evaluare (job #5270) | Borderou de evaluare (job #2300827)
Borderou de evaluare (job #2300827)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:61: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:14: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:52: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 |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 3ms | 131kb | OK | 10 |
4 | 16ms | 131kb | OK | 10 |
5 | 31ms | 131kb | OK | 10 |
6 | 69ms | 131kb | OK | 10 |
7 | 121ms | 131kb | OK | 10 |
8 | 176ms | 131kb | OK | 10 |
9 | 259ms | 131kb | OK | 10 |
10 | 249ms | 131kb | OK | 10 |
Punctaj total | 100 |