Pagini recente » Borderou de evaluare (job #68518) | Borderou de evaluare (job #1026208) | Borderou de evaluare (job #2114540) | Borderou de evaluare (job #962454) | Borderou de evaluare (job #1514145)
Borderou de evaluare (job #1514145)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:12: warning: unused variable ‘step’ [-Wunused-variable]
int i, step, l,a, b, aa, bb;
^
user.cpp:42:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("farey.in", "r", stdin);
^
user.cpp:43:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("farey.out", "w", stdout);
^
user.cpp:45:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &n, &k);
^
user.cpp: In function ‘int solve(double)’:
user.cpp:29:26: warning: ‘bb’ may be used uninitialized in this function [-Wmaybe-uninitialized]
ciur [i] = a * i / b; // c < a * i / b
^
user.cpp: In function ‘int main()’:
user.cpp:61:15: warning: ‘ans’ may be used uninitialized in this function [-Wmaybe-uninitialized]
a = b * ans;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 308kb | OK | 10 |
2 | 32ms | 332kb | OK | 10 |
3 | 68ms | 396kb | OK | 10 |
4 | 80ms | 416kb | OK | 10 |
5 | 84ms | 416kb | OK | 10 |
6 | 16ms | 308kb | OK | 10 |
7 | 72ms | 404kb | OK | 10 |
8 | 24ms | 344kb | OK | 10 |
9 | 60ms | 384kb | OK | 10 |
10 | 80ms | 412kb | OK | 10 |
Punctaj total | 100 |