Pagini recente » Borderou de evaluare (job #2125507) | Borderou de evaluare (job #922541) | Borderou de evaluare (job #2184932) | Borderou de evaluare (job #2826312) | Borderou de evaluare (job #2593672)
Borderou de evaluare (job #2593672)
Raport evaluator
Compilare:
main.cpp: In function 'void solve()':
main.cpp:142:9: warning: unused variable 'i' [-Wunused-variable]
int i = 0;
^
main.cpp: In function 'int main()':
main.cpp:186:30: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<std::pair<int, int> >::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n", ans.size());
^
main.cpp:187:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < ans.size() ; ++i)
~~^~~~~~~~~~~~
main.cpp:155:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("plan.in", "r", stdin);
^
main.cpp:156:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("plan.out", "w", stdout);
^
main.cpp:160: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:163: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 | 3ms | 262kb | Corect | 10 |
2 | 5ms | 393kb | Corect | 10 |
3 | 3ms | 131kb | Corect | 10 |
4 | 2ms | 131kb | Corect | 10 |
5 | 3ms | 131kb | Raspuns gresit | 0 |
6 | 3ms | 131kb | Raspuns gresit | 0 |
7 | 6ms | 524kb | Corect | 10 |
8 | 3ms | 131kb | Solutie gresita | 2 |
9 | 3ms | 262kb | Solutie gresita | 2 |
10 | 3ms | 262kb | Solutie gresita | 2 |
Punctaj total | 56 |