Pagini recente » Borderou de evaluare (job #2986359) | Borderou de evaluare (job #3134978) | Borderou de evaluare (job #2980252) | Borderou de evaluare (job #805303) | Borderou de evaluare (job #1493835)
Borderou de evaluare (job #1493835)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:21:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(d.size() < L || (d.size() >= L && d.size() < U))
^
user.cpp:21:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(d.size() < L || (d.size() >= L && d.size() < U))
^
user.cpp:21:57: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(d.size() < L || (d.size() >= L && d.size() < U))
^
user.cpp:26:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(d.size() >= L && d.size() <= U)
^
user.cpp:26:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(d.size() >= L && d.size() <= U)
^
user.cpp:29:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(d.size() == U)
^
user.cpp:31:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(d.size() > L)
^
user.cpp: In function ‘void read()’:
user.cpp:11:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sum2.in", "r", stdin);
^
user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sum2.out", "w", stdout);
^
user.cpp:13:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &N, &L, &U);
^
user.cpp:15:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | Incorect | 0 |
2 | 0ms | 276kb | Incorect | 0 |
3 | 4ms | 400kb | Incorect | 0 |
4 | 8ms | 480kb | Incorect | 0 |
5 | 8ms | 472kb | Incorect | 0 |
6 | 12ms | 504kb | Incorect | 0 |
7 | 16ms | 608kb | Incorect | 0 |
8 | 16ms | 788kb | Incorect | 0 |
9 | 20ms | 788kb | Incorect | 0 |
10 | 28ms | 852kb | Incorect | 0 |
Punctaj total | 0 |