Pagini recente » Borderou de evaluare (job #3258263) | Borderou de evaluare (job #1960130) | Borderou de evaluare (job #2415560) | Borderou de evaluare (job #2669213) | Borderou de evaluare (job #2143126)
Borderou de evaluare (job #2143126)
Raport evaluator
Compilare:
user.cpp: In function ‘int greedy(std::vector<Spectacol>)’:
user.cpp:51: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:87: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:41:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
user.cpp:43: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:101: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:102: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 | A treia valoare gresita! | 7 |
2 | 0ms | 1888kb | Ultimele doua valori gresite! | 2 |
3 | 0ms | 1892kb | Ultimele doua valori gresite! | 2 |
4 | 0ms | 1916kb | A doua valoare gresita! | 5 |
5 | 4ms | 1948kb | A treia valoare gresita! | 7 |
6 | 4ms | 1996kb | A treia valoare gresita! | 7 |
7 | 4ms | 2004kb | A treia valoare gresita! | 7 |
8 | 8ms | 2036kb | A treia valoare gresita! | 7 |
9 | 8ms | 2040kb | Ultimele doua valori gresite! | 2 |
10 | 0ms | 1892kb | Ultimele doua valori gresite! | 2 |
Punctaj total | 48 |