Pagini recente » Borderou de evaluare (job #318654) | Borderou de evaluare (job #3282455) | Borderou de evaluare (job #2824056) | Borderou de evaluare (job #665768) | Borderou de evaluare (job #2675848)
Borderou de evaluare (job #2675848)
Raport evaluator
Compilare:
main.cpp: In function 'void gen_stacks()':
main.cpp:25:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < blocks.size() && crt; j++)
~~^~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:41:31: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n", blocks.size());
^
main.cpp:42:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < blocks.size(); i++) {
~~^~~~~~~~~~~~~~~
main.cpp:43:35: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d ", stacks[i].size());
^
main.cpp:34:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("stive.in", "r", stdin);
^
main.cpp:35:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("stive.out", "w", stdout);
^
main.cpp:37:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Esti baza! | 10 |
| 2 | 2ms | 131kb | Esti baza! | 10 |
| 3 | 2ms | 131kb | Esti baza! | 10 |
| 4 | 4ms | 131kb | Esti baza! | 10 |
| 5 | 7ms | 262kb | Esti baza! | 10 |
| 6 | 13ms | 524kb | Esti baza! | 10 |
| 7 | 23ms | 655kb | Esti baza! | 10 |
| 8 | 49ms | 1572kb | Esti baza! | 10 |
| 9 | 74ms | 2359kb | Esti baza! | 10 |
| 10 | 83ms | 2621kb | Esti baza! | 10 |
| Punctaj total | 100 |