Pagini recente » Borderou de evaluare (job #1586433) | Borderou de evaluare (job #1025489) | Borderou de evaluare (job #1987907) | Borderou de evaluare (job #3225478) | Borderou de evaluare (job #1498660)
Borderou de evaluare (job #1498660)
Raport evaluator
Compilare:
user.cpp:49:1: warning: floating constant exceeds range of ‘double’ [-Woverflow]
double ans = 1e500;
^
user.cpp: In function ‘void back(int, double, int)’:
user.cpp:59:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (pas == primes.size()) {
^
user.cpp: In function ‘int main()’:
user.cpp:97:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < primes.size(); i++) {
^
user.cpp:78:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trapeze.in","r",stdin);
^
user.cpp:79:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trapeze.out","w",stdout);
^
user.cpp:81:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 456kb | OK | 10 |
2 | 0ms | 456kb | OK | 10 |
3 | 0ms | 456kb | OK | 10 |
4 | 0ms | 460kb | OK | 10 |
5 | 0ms | 460kb | OK | 10 |
6 | 0ms | 456kb | OK | 10 |
7 | 0ms | 456kb | OK | 10 |
8 | 0ms | 456kb | OK | 10 |
9 | 0ms | 460kb | OK | 10 |
10 | 0ms | 460kb | OK | 10 |
Punctaj total | 100 |