Pagini recente » Borderou de evaluare (job #1296091) | Borderou de evaluare (job #400280) | Borderou de evaluare (job #464024) | Borderou de evaluare (job #828068) | Borderou de evaluare (job #2189175)
Borderou de evaluare (job #2189175)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:15:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
scanf("%lf%lf%lf%d",&a,&b,&c,&n);
^
user.cpp: In function ‘void solve()’:
user.cpp:30:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",sol);
^
user.cpp: In function ‘void read()’:
user.cpp:12:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("iopds.in","r",stdin);
^
user.cpp:13:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("iopds.out","w",stdout);
^
user.cpp:15:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf%lf%d",&a,&b,&c,&n);
^
user.cpp:17:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf",&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 864kb | OK | 10 |
| 2 | 0ms | 876kb | OK | 10 |
| 3 | 0ms | 752kb | OK | 10 |
| 4 | 0ms | 804kb | OK | 10 |
| 5 | 0ms | 876kb | Incorect | 0 |
| 6 | 4ms | 756kb | Incorect | 0 |
| 7 | 20ms | 752kb | Incorect | 0 |
| 8 | 16ms | 860kb | OK | 10 |
| 9 | 12ms | 756kb | Incorect | 0 |
| 10 | 12ms | 752kb | Incorect | 0 |
| Punctaj total | 50 |