Pagini recente » Borderou de evaluare (job #675970) | Borderou de evaluare (job #940841) | Borderou de evaluare (job #1902421) | Borderou de evaluare (job #1823817) | Borderou de evaluare (job #1690315)
Borderou de evaluare (job #1690315)
Raport evaluator
Compilare:
user.cpp: In function ‘int cauta(copac)’:
user.cpp:24:9: warning: unused variable ‘k’ [-Wunused-variable]
int k,i,p,ok1=1,st,dr;
^
user.cpp:24:11: warning: unused variable ‘i’ [-Wunused-variable]
int k,i,p,ok1=1,st,dr;
^
user.cpp:24:15: warning: unused variable ‘ok1’ [-Wunused-variable]
int k,i,p,ok1=1,st,dr;
^
user.cpp: In function ‘int main()’:
user.cpp:43:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&x);
^
user.cpp:46:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&f[k].x,&f[k].m);
^
user.cpp:46:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:85:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",smax);
^
user.cpp: In function ‘int cauta(copac)’:
user.cpp:38:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:41:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cabana2.in","r",stdin);
^
user.cpp:42:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cabana2.out","w",stdout);
^
user.cpp:43:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:46:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&f[k].x,&f[k].m);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 448kb | Incorect | 0 |
2 | 0ms | 444kb | Incorect | 0 |
3 | 0ms | 456kb | Incorect | 0 |
4 | 0ms | 460kb | Incorect | 0 |
5 | 0ms | 460kb | Incorect | 0 |
6 | 0ms | 460kb | Incorect | 0 |
7 | 0ms | 464kb | Incorect | 0 |
8 | 0ms | 456kb | Incorect | 0 |
9 | 0ms | 464kb | Incorect | 0 |
10 | 0ms | 460kb | Incorect | 0 |
11 | 4ms | 528kb | Incorect | 0 |
12 | 4ms | 524kb | Incorect | 0 |
13 | 4ms | 536kb | Incorect | 0 |
14 | 4ms | 532kb | Incorect | 0 |
15 | 240ms | 1896kb | Incorect | 0 |
16 | 264ms | 1940kb | Incorect | 0 |
17 | 268ms | 1964kb | Incorect | 0 |
18 | 248ms | 1908kb | Incorect | 0 |
19 | 228ms | 1848kb | Incorect | 0 |
20 | 244ms | 1916kb | Incorect | 0 |
Punctaj total | 0 |