Pagini recente » Borderou de evaluare (job #467110) | Borderou de evaluare (job #768201) | Borderou de evaluare (job #1882542) | Borderou de evaluare (job #2901590) | Borderou de evaluare (job #2367501)
Borderou de evaluare (job #2367501)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:29:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<g[q.front()].size(); i++)
~^~~~~~~~~~~~~~~~~~~~
main.cpp:31:81: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(val[q.front()]==0 || g[q.front()].size()-vecmarcat[q.front()]<val[q.front()]){
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
main.cpp:40:30: 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", sol.size());
^
main.cpp:41:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<sol.size(); i++)
~^~~~~~~~~~~
main.cpp:14:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("markon.in", "r",stdin);
^
main.cpp:15:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("markon.out", "w",stdout);
^
main.cpp:17:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &m, &s);
^
main.cpp:19:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &val[i]);
^
main.cpp:21:30: 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 | 23ms | 12189kb | OK! | 5 |
2 | 27ms | 12189kb | OK! | 5 |
3 | 27ms | 12189kb | Raspuns Gresit! | 0 |
4 | 27ms | 12189kb | Raspuns Gresit! | 0 |
5 | 23ms | 12189kb | Raspuns Gresit! | 0 |
6 | 27ms | 12189kb | Raspuns Gresit! | 0 |
7 | 162ms | 15073kb | Raspuns Gresit! | 0 |
8 | 288ms | 16777kb | Raspuns Gresit! | 0 |
9 | 431ms | 18481kb | Raspuns Gresit! | 0 |
10 | 564ms | 20185kb | Raspuns Gresit! | 0 |
11 | 651ms | 21889kb | Raspuns Gresit! | 0 |
12 | 714ms | 22282kb | Raspuns Gresit! | 0 |
13 | 725ms | 22675kb | Raspuns Gresit! | 0 |
14 | 731ms | 22937kb | Raspuns Gresit! | 0 |
15 | 703ms | 23404kb | Raspuns Gresit! | 0 |
16 | 764ms | 23986kb | Raspuns Gresit! | 0 |
17 | 704ms | 24510kb | Raspuns Gresit! | 0 |
18 | 711ms | 25034kb | Raspuns Gresit! | 0 |
19 | 837ms | 26607kb | Raspuns Gresit! | 0 |
20 | 894ms | 28311kb | Raspuns Gresit! | 0 |
Punctaj total | 10 |