Pagini recente » Borderou de evaluare (job #1526538) | Cod sursa (job #956643) | Cod sursa (job #375672) | Borderou de evaluare (job #947785) | Borderou de evaluare (job #1690312)
Borderou de evaluare (job #1690312)
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: 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 | 448kb | Incorect | 0 |
| 3 | 0ms | 464kb | Incorect | 0 |
| 4 | 0ms | 456kb | Incorect | 0 |
| 5 | 0ms | 464kb | Incorect | 0 |
| 6 | 0ms | 464kb | Incorect | 0 |
| 7 | 0ms | 468kb | Incorect | 0 |
| 8 | 0ms | 456kb | Incorect | 0 |
| 9 | 0ms | 464kb | Incorect | 0 |
| 10 | 0ms | 464kb | Incorect | 0 |
| 11 | 4ms | 528kb | Incorect | 0 |
| 12 | 4ms | 528kb | Incorect | 0 |
| 13 | 4ms | 536kb | Incorect | 0 |
| 14 | 4ms | 532kb | Incorect | 0 |
| 15 | 240ms | 1900kb | Incorect | 0 |
| 16 | 260ms | 1944kb | Incorect | 0 |
| 17 | 268ms | 1976kb | Incorect | 0 |
| 18 | 248ms | 1912kb | Incorect | 0 |
| 19 | 228ms | 1852kb | Incorect | 0 |
| 20 | 248ms | 1912kb | Incorect | 0 |
| Punctaj total | 0 |