Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2147448)
| Utilizator | Data | 28 februarie 2018 19:10:06 | |
|---|---|---|---|
| Problema | Armonica | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:76:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘std::vector<std::pair<long long int, long long int> >::size_type {aka long unsigned int}’ [-Wformat=]
printf("%d\n", rez.size());
^
user.cpp:77:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < rez.size(); i++)
^
user.cpp:50:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("armonica.in", "r", stdin);
^
user.cpp:51:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("armonica.out", "w", stdout);
^
user.cpp:52:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &b);
^
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 0ms | 1496kb | Corect! | 5 |
| 2 | 0ms | 1496kb | Corect! | 5 |
| 3 | 0ms | 1504kb | Corect! | 5 |
| 4 | 0ms | 1524kb | Corect! | 5 |
| 5 | 0ms | 1492kb | Corect! | 5 |
| 6 | 0ms | 1500kb | Corect! | 5 |
| 7 | 0ms | 1524kb | Corect! | 5 |
| 8 | 0ms | 1524kb | Corect! | 5 |
| 9 | 16ms | 1952kb | Corect! | 5 |
| 10 | 8ms | 1688kb | Corect! | 5 |
| 11 | 4ms | 1620kb | Corect! | 5 |
| 12 | 4ms | 1628kb | Corect! | 5 |
| 13 | 0ms | 1500kb | Corect! | 5 |
| 14 | 0ms | 1556kb | Corect! | 5 |
| 15 | 0ms | 1496kb | Corect! | 5 |
| 16 | 0ms | 1496kb | Corect! | 5 |
| 17 | 0ms | 1500kb | Corect! | 5 |
| 18 | 0ms | 1496kb | Corect! | 5 |
| 19 | 0ms | 1496kb | Corect! (Exemplu) | 10 |
| Punctaj total | 100 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
