Pagini recente » Borderou de evaluare (job #775567) | Borderou de evaluare (job #2624397) | Borderou de evaluare (job #1713658) | Borderou de evaluare (job #728397) | Borderou de evaluare (job #2744606)
Borderou de evaluare (job #2744606)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:35:34: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'int*' [-Wformat=]
scanf("%lf %ld", &x, &fni);
^
main.cpp:40:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(q.size() < fni)
~~~~~~~~~^~~~~
main.cpp:22:25: warning: unused variable 'ok' [-Wunused-variable]
int n, m, fni, i=0, ok;
^~
main.cpp:23:15: warning: unused variable 'y' [-Wunused-variable]
double x, y, d;
^
main.cpp:19:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sea.in", "r", stdin);
^
main.cpp:20:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sea.out", "w", stdout);
^
main.cpp:24:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
main.cpp:28:43: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf %lf", &v[j].x, &v[j].y);
^
main.cpp:35:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf %ld", &x, &fni);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 52ms | 131kb | OK | 10 |
3 | 475ms | 393kb | OK | 10 |
4 | 268ms | 393kb | OK | 10 |
5 | 602ms | 393kb | Time limit exceeded | 0 |
6 | 600ms | 262kb | Time limit exceeded | 0 |
7 | 601ms | 262kb | Time limit exceeded | 0 |
8 | 601ms | 524kb | Time limit exceeded | 0 |
9 | 603ms | 262kb | Time limit exceeded | 0 |
10 | 2ms | 131kb | OK | 10 |
Punctaj total | 50 |