Pagini recente » Borderou de evaluare (job #1723540) | Borderou de evaluare (job #2461533) | Borderou de evaluare (job #1033039) | Borderou de evaluare (job #343870) | Borderou de evaluare (job #2171809)
Borderou de evaluare (job #2171809)
Raport evaluator
Compilare:
user.cpp: In function ‘void debug()’:
user.cpp:25:39: warning: format ‘%lf’ expects argument of type ‘double’, but argument 2 has type ‘Puncte’ [-Wformat=]
printf("%lf %lf %lf\n", pct[i]);
^
user.cpp:25:39: warning: format ‘%lf’ expects a matching ‘double’ argument [-Wformat=]
user.cpp:25:39: warning: format ‘%lf’ expects a matching ‘double’ argument [-Wformat=]
user.cpp: In function ‘void read()’:
user.cpp:32:16: warning: unused variable ‘a’ [-Wunused-variable]
Puncte a;
^
user.cpp:30:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:33:65: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf %lf %lf", &pct[i].x, &pct[i].y, &pct[i].dist);
^
user.cpp: In function ‘int main()’:
user.cpp:62:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mosia.in", "r", stdin);
^
user.cpp:63:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mosia.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 2876kb | Incorect | 0 |
| 2 | 4ms | 2860kb | Corect | 5 |
| 3 | 4ms | 2828kb | Incorect | 0 |
| 4 | 4ms | 2944kb | Incorect | 0 |
| 5 | 4ms | 2956kb | Corect | 5 |
| 6 | 4ms | 2992kb | Corect | 5 |
| 7 | 4ms | 2840kb | Corect | 5 |
| 8 | 4ms | 2860kb | Corect | 5 |
| 9 | 4ms | 2836kb | Corect | 5 |
| 10 | 4ms | 2852kb | Incorect | 0 |
| 11 | 4ms | 2892kb | Corect | 5 |
| 12 | 4ms | 2840kb | Corect | 5 |
| 13 | 4ms | 2972kb | Incorect | 0 |
| 14 | 4ms | 2848kb | Corect | 5 |
| 15 | 4ms | 2848kb | Incorect | 0 |
| 16 | 8ms | 2956kb | Incorect | 0 |
| 17 | 8ms | 2988kb | Incorect | 0 |
| 18 | 8ms | 2896kb | Corect | 5 |
| 19 | 8ms | 2860kb | Incorect | 0 |
| 20 | 8ms | 2852kb | Corect | 5 |
| Punctaj total | 55 |