Pagini recente » Borderou de evaluare (job #958660) | Borderou de evaluare (job #454470) | Borderou de evaluare (job #161237) | Borderou de evaluare (job #1707607) | Borderou de evaluare (job #1819795)
Borderou de evaluare (job #1819795)
Raport evaluator
Compilare:
user.cpp: In function ‘int bs(double*, int, double, double, double)’:
user.cpp:9:10: warning: unused variable ‘x’ [-Wunused-variable]
double x = val + dist;
^
user.cpp: In function ‘int main()’:
user.cpp:26:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kgon.in", "r", stdin);
^
user.cpp:27:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kgon.out", "w", stdout);
^
user.cpp:30:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%lf", &n, &k, &r);
^
user.cpp:32:24: 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 | 308kb | OK | 10 |
2 | 0ms | 312kb | OK | 10 |
3 | 0ms | 324kb | OK | 10 |
4 | 8ms | 460kb | OK | 10 |
5 | 92ms | 1860kb | OK | 10 |
6 | 92ms | 1860kb | OK | 10 |
7 | 92ms | 1860kb | OK | 10 |
8 | 88ms | 1856kb | OK | 10 |
9 | 92ms | 1860kb | OK | 10 |
10 | 88ms | 1860kb | OK | 10 |
Punctaj total | 100 |