Pagini recente » Borderou de evaluare (job #2122432) | Borderou de evaluare (job #2970482) | Borderou de evaluare (job #279735) | Borderou de evaluare (job #299052) | Borderou de evaluare (job #2370232)
Borderou de evaluare (job #2370232)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:60:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Solutie' [-Wformat=]
printf("%d\n", dp[0]);
^
main.cpp:66: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:68:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<sol.size(); i++)
~^~~~~~~~~~~
main.cpp:26:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("boom.in", "r",stdin);
^
main.cpp:27:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("boom.out", "w",stdout);
^
main.cpp:29:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:31:42: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &sarje[i].cost, &k);
^
main.cpp:33:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 20ms | 12713kb | Just perfect! | 10 |
2 | 24ms | 12713kb | The rat is still alive! | 0 |
3 | 24ms | 12713kb | The rat is still alive! | 0 |
4 | 24ms | 12713kb | The rat is still alive! | 0 |
5 | 24ms | 12713kb | The rat is still alive! | 0 |
6 | 24ms | 12713kb | The rat is still alive! | 0 |
7 | 24ms | 12713kb | The rat is still alive! | 0 |
8 | 24ms | 12713kb | The rat is still alive! | 0 |
9 | 24ms | 12713kb | The rat is still alive! | 0 |
10 | 24ms | 12713kb | The rat is still alive! | 0 |
Punctaj total | 10 |