Pagini recente » Borderou de evaluare (job #1714598) | Borderou de evaluare (job #1418180) | Borderou de evaluare (job #2781163) | Borderou de evaluare (job #2784461) | Borderou de evaluare (job #2638446)
Borderou de evaluare (job #2638446)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:80:30: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<double>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n", ans.size());
^
main.cpp:29:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("laser.in", "r", stdin);
^
main.cpp:30:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("laser.out", "w", stdout);
^
main.cpp:32:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:36:46: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &X1, &Y1, &X2, &Y2);
^
main.cpp:59:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &xr);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK! | 10 |
| 2 | 3ms | 131kb | OK! | 10 |
| 3 | 3ms | 131kb | OK! | 10 |
| 4 | 4ms | 131kb | OK! | 10 |
| 5 | 5ms | 131kb | OK! | 10 |
| 6 | 7ms | 262kb | OK! | 10 |
| 7 | 12ms | 262kb | OK! | 10 |
| 8 | 10ms | 262kb | OK! | 10 |
| 9 | 16ms | 262kb | OK! | 10 |
| 10 | 12ms | 262kb | OK! | 10 |
| Punctaj total | 100 |