Pagini recente » Borderou de evaluare (job #3225483) | Borderou de evaluare (job #1946747) | Consir | Borderou de evaluare (job #3291255) | Borderou de evaluare (job #2675841)
Borderou de evaluare (job #2675841)
Raport evaluator
Compilare:
main.cpp: In function 'void gen_stacks()':
main.cpp:23: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:51: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:52:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < blocks.size(); i++) {
~~^~~~~~~~~~~~~~~
main.cpp:53: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:43: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:44: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:46: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 | 12ms | 524kb | Esti baza! | 10 |
| 7 | 22ms | 655kb | Esti baza! | 10 |
| 8 | 47ms | 1572kb | Esti baza! | 10 |
| 9 | 71ms | 2359kb | Esti baza! | 10 |
| 10 | 85ms | 2621kb | Esti baza! | 10 |
| Punctaj total | 100 |