Pagini recente » Borderou de evaluare (job #455883) | Borderou de evaluare (job #2238551) | Borderou de evaluare (job #1040062) | Borderou de evaluare (job #1473103) | Borderou de evaluare (job #2189178)
Borderou de evaluare (job #2189178)
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 | 932kb | OK | 10 |
2 | 0ms | 868kb | OK | 10 |
3 | 0ms | 872kb | OK | 10 |
4 | 0ms | 756kb | OK | 10 |
5 | 0ms | 752kb | OK | 10 |
6 | 4ms | 936kb | OK | 10 |
7 | 20ms | 868kb | OK | 10 |
8 | 16ms | 864kb | OK | 10 |
9 | 16ms | 876kb | OK | 10 |
10 | 16ms | 868kb | OK | 10 |
Punctaj total | 100 |