Pagini recente » Borderou de evaluare (job #2726081) | Borderou de evaluare (job #1825450) | Borderou de evaluare (job #2619614) | Clasament Happy Coding 2007 | Borderou de evaluare (job #2367619)
Borderou de evaluare (job #2367619)
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:32:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<g[q.front()].size(); i++)
~^~~~~~~~~~~~~~~~~~~~
main.cpp:34: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:42: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:43: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 | 22ms | 12189kb | OK! | 5 |
| 2 | 26ms | 12189kb | OK! | 5 |
| 3 | 27ms | 12189kb | OK! | 5 |
| 4 | 26ms | 12189kb | Raspuns Gresit! | 0 |
| 5 | 27ms | 12189kb | Raspuns Gresit! | 0 |
| 6 | 28ms | 12189kb | OK! | 5 |
| 7 | 163ms | 15073kb | Raspuns Gresit! | 0 |
| 8 | 284ms | 16908kb | Raspuns Gresit! | 0 |
| 9 | 397ms | 18612kb | Raspuns Gresit! | 0 |
| 10 | 517ms | 20316kb | Raspuns Gresit! | 0 |
| 11 | 633ms | 22020kb | Raspuns Gresit! | 0 |
| 12 | 656ms | 22413kb | Raspuns Gresit! | 0 |
| 13 | 757ms | 22806kb | Raspuns Gresit! | 0 |
| 14 | 675ms | 23199kb | Raspuns Gresit! | 0 |
| 15 | 674ms | 23461kb | Raspuns Gresit! | 0 |
| 16 | 683ms | 23986kb | Raspuns Gresit! | 0 |
| 17 | 698ms | 24641kb | Raspuns Gresit! | 0 |
| 18 | 717ms | 25165kb | Raspuns Gresit! | 0 |
| 19 | 829ms | 26607kb | Raspuns Gresit! | 0 |
| 20 | 805ms | 28442kb | Raspuns Gresit! | 0 |
| Punctaj total | 20 |