Pagini recente » Borderou de evaluare (job #512840) | Borderou de evaluare (job #957336) | Borderou de evaluare (job #2415024) | Borderou de evaluare (job #957339) | Borderou de evaluare (job #2084835)
Borderou de evaluare (job #2084835)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:34:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(n<=p/2){
^
user.cpp:35:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=1; i<=n; i++){
^
user.cpp:36:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if((p-f[v[i]])/2>=n-i && p-f[v[i]]>=0){
^
user.cpp:42:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if((p-f[j])/2>=n-i && p-f[j]>=0){
^
user.cpp:57:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=1; i<=n; i++)
^
user.cpp:21:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{ freopen("7segmente.in", "r",stdin);
^
user.cpp:22:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("7segmente.out", "w",stdout);
^
user.cpp:25:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%llu%d", &n, &p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | Te stii ! | 5 |
2 | 0ms | 272kb | Te stii ! | 5 |
3 | 0ms | 272kb | Te stii ! | 5 |
4 | 0ms | 268kb | Te stii ! | 5 |
5 | 0ms | 272kb | Te stii ! | 5 |
6 | 0ms | 264kb | Te stii ! | 5 |
7 | 0ms | 268kb | Te stii ! | 5 |
8 | 0ms | 272kb | Te stii ! | 5 |
9 | 0ms | 268kb | Te stii ! | 5 |
10 | 0ms | 272kb | Te stii ! | 5 |
11 | 0ms | 272kb | Te stii ! | 5 |
12 | 0ms | 272kb | Te stii ! | 5 |
13 | 0ms | 268kb | Te stii ! | 5 |
14 | 0ms | 272kb | Te stii ! | 5 |
15 | 0ms | 264kb | Te stii ! | 5 |
16 | 0ms | 272kb | Te stii ! | 5 |
17 | 0ms | 272kb | Te stii ! | 5 |
18 | 0ms | 268kb | Te stii ! | 5 |
19 | 0ms | 268kb | Te stii ! | 5 |
20 | 0ms | 268kb | Te stii ! | 5 |
Punctaj total | 100 |