Pagini recente » Borderou de evaluare (job #1854270) | Borderou de evaluare (job #2457625) | Borderou de evaluare (job #460387) | Borderou de evaluare (job #839889) | Borderou de evaluare (job #2744558)
Borderou de evaluare (job #2744558)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:34:34: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'int*' [-Wformat=]
scanf("%lf %ld", &x, &fni);
^
main.cpp:39:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(q.size() < fni)
~~~~~~~~~^~~~~
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[i].x, &v[i].y);
^
main.cpp:34: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 | 51ms | 131kb | OK | 10 |
3 | 441ms | 344kb | OK | 10 |
4 | 262ms | 393kb | OK | 10 |
5 | 603ms | 393kb | Time limit exceeded | 0 |
6 | 600ms | 262kb | Time limit exceeded | 0 |
7 | 600ms | 262kb | Time limit exceeded | 0 |
8 | 603ms | 524kb | Time limit exceeded | 0 |
9 | 602ms | 262kb | Time limit exceeded | 0 |
10 | 2ms | 131kb | OK | 10 |
Punctaj total | 50 |