Pagini recente » Borderou de evaluare (job #2892605) | Cod sursa (job #905083) | Borderou de evaluare (job #2892606) | Borderou de evaluare (job #820905) | Borderou de evaluare (job #2143123)
Borderou de evaluare (job #2143123)
Raport evaluator
Compilare:
user.cpp: In function ‘int greedy(std::vector<Spectacol>)’:
user.cpp:50:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < s.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:98: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:99: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 | 1888kb | A treia valoare gresita! | 7 |
| 2 | 0ms | 1892kb | Ultimele doua valori gresite! | 2 |
| 3 | 0ms | 1896kb | Ultimele doua valori gresite! | 2 |
| 4 | 0ms | 1916kb | A doua valoare gresita! | 5 |
| 5 | 4ms | 1944kb | A treia valoare gresita! | 7 |
| 6 | 4ms | 1996kb | A treia valoare gresita! | 7 |
| 7 | 4ms | 2008kb | A treia valoare gresita! | 7 |
| 8 | 8ms | 2040kb | A treia valoare gresita! | 7 |
| 9 | 8ms | 2044kb | Ultimele doua valori gresite! | 2 |
| 10 | 0ms | 1892kb | Ultimele doua valori gresite! | 2 |
| Punctaj total | 48 |