Pagini recente » Borderou de evaluare (job #875813) | Borderou de evaluare (job #318328) | Borderou de evaluare (job #123315) | Borderou de evaluare (job #122883) | Borderou de evaluare (job #2725522)
Borderou de evaluare (job #2725522)
Raport evaluator
Compilare:
main.cpp: In function 'void pop_cbc(int, int)':
main.cpp:44:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(cbc_muchii != cbc[nr_cbc].size() * (cbc[nr_cbc].size() - 1) / 2) /// cbc tb sa fie graf complet
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:122:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(stiva.size() != nod_idx - 1)
~~~~~~~~~~~~~^~~~~~~~~~~~~~
main.cpp:128:42: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<muchie>::size_type {aka long unsigned int}' [-Wformat=]
printf("DA\n%d\n", stiva.size() + 1);
^
main.cpp:82:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("linegraph.in", "r", stdin);
^
main.cpp:83:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("linegraph.out", "w", stdout);
^
main.cpp:86:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
main.cpp:88:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
main.cpp:107:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 4194kb | OK! | 2 |
2 | 96ms | 4587kb | OK! | 2 |
3 | 12ms | 4456kb | OK! | 2 |
4 | 381ms | 13090kb | OK! | 6 |
5 | 12ms | 4325kb | OK! | 2 |
6 | 12ms | 4325kb | OK! | 2 |
7 | 12ms | 4325kb | OK! | 2 |
8 | 12ms | 4325kb | OK! | 3 |
9 | 10ms | 4194kb | OK! | 11 |
10 | 10ms | 4194kb | OK! | 13 |
11 | 13ms | 4325kb | OK! | 3 |
12 | 10ms | 4194kb | OK! | 13 |
13 | 10ms | 4194kb | OK! | 5 |
14 | 12ms | 4325kb | OK! | 3 |
15 | 22ms | 4194kb | OK! | 3 |
16 | 15ms | 4194kb | OK! | 3 |
17 | 13ms | 4325kb | OK! | 3 |
18 | 10ms | 4194kb | OK! | 13 |
19 | 309ms | 12709kb | OK! | 7 |
20 | 62ms | 4194kb | OK! | 2 |
Punctaj total | 100 |