Pagini recente » Borderou de evaluare (job #2496223) | Borderou de evaluare (job #725058) | Borderou de evaluare (job #2852426) | Borderou de evaluare (job #642208) | Borderou de evaluare (job #2143187)
Borderou de evaluare (job #2143187)
Raport evaluator
Compilare:
user.cpp: In static member function ‘static Spectacol Spectacol::from(Cerc)’:
user.cpp:29:10: warning: unused variable ‘x’ [-Wunused-variable]
double x = sqrt(c.x * c.x + c.y * c.y);
^
user.cpp: In function ‘int greedy(std::vector<Spectacol>)’:
user.cpp:58:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < s.size(); i++) {
^
user.cpp: In function ‘void rezolvare()’:
user.cpp:95:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < spectacole.size(); i++) {
^
user.cpp: In function ‘void citire()’:
user.cpp:46:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
user.cpp:48:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d ", &c[i].x, &c[i].y, &c[i].r);
^
user.cpp: In function ‘int main()’:
user.cpp:110:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cerc3.in", "r", stdin);
^
user.cpp:111:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cerc3.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1892kb | OK! | 10 |
2 | 0ms | 1896kb | OK! | 10 |
3 | 0ms | 1896kb | OK! | 10 |
4 | 0ms | 1912kb | OK! | 10 |
5 | 4ms | 1944kb | OK! | 10 |
6 | 4ms | 2000kb | OK! | 10 |
7 | 4ms | 2008kb | OK! | 10 |
8 | 8ms | 2040kb | OK! | 10 |
9 | 8ms | 2036kb | OK! | 10 |
10 | 0ms | 1892kb | OK! | 10 |
Punctaj total | 100 |