Pagini recente » Borderou de evaluare (job #2781849) | Borderou de evaluare (job #1357156) | Cod sursa (job #6325) | Borderou de evaluare (job #1685622) | Borderou de evaluare (job #2143150)
Borderou de evaluare (job #2143150)
Raport evaluator
Compilare:
user.cpp: In function ‘int greedy(std::vector<Spectacol>)’:
user.cpp:57: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:94: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:45:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
user.cpp:47: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:109: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:110: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 | 1912kb | A doua valoare gresita! | 5 |
| 5 | 0ms | 1948kb | A treia valoare gresita! | 7 |
| 6 | 4ms | 2000kb | A treia valoare gresita! | 7 |
| 7 | 4ms | 2008kb | A treia valoare gresita! | 7 |
| 8 | 8ms | 2036kb | A treia valoare gresita! | 7 |
| 9 | 8ms | 2040kb | Ultimele doua valori gresite! | 2 |
| 10 | 0ms | 1888kb | Ultimele doua valori gresite! | 2 |
| Punctaj total | 48 |