Pagini recente » Borderou de evaluare (job #1582460) | Borderou de evaluare (job #2635774) | Borderou de evaluare (job #914883) | Borderou de evaluare (job #804428) | Borderou de evaluare (job #1496383)
Borderou de evaluare (job #1496383)
Raport evaluator
Compilare:
user.cpp: In function ‘long long unsigned int cautare_binara(long long unsigned int, long long unsigned int, int)’:
user.cpp:26:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(aux==p)
^
user.cpp:36:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(aux>p)
^
user.cpp:38:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(aux<p)
^
user.cpp: In function ‘int main()’:
user.cpp:46:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=]
scanf("%d",&p);
^
user.cpp:48:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
printf("%d\n",medie);
^
user.cpp: In function ‘long long unsigned int cautare_binara(long long unsigned int, long long unsigned int, int)’:
user.cpp:41:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:44:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fact.in","r",stdin);
^
user.cpp:45:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fact.out","w",stdout);
^
user.cpp:46:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 444kb | Corect! | 5 |
2 | 0ms | 448kb | Corect! | 5 |
3 | 0ms | 444kb | Raspuns incorect | 0 |
4 | 0ms | 448kb | Corect! | 5 |
5 | 0ms | 448kb | Corect! | 5 |
6 | 0ms | 444kb | Corect! | 5 |
7 | 0ms | 448kb | Corect! | 5 |
8 | 0ms | 444kb | Corect! | 5 |
9 | 0ms | 452kb | Corect! | 5 |
10 | 0ms | 452kb | Corect! | 5 |
11 | 0ms | 452kb | Corect! | 5 |
12 | 0ms | 448kb | Corect! | 5 |
13 | 0ms | 452kb | Corect! | 5 |
14 | 0ms | 452kb | Corect! | 5 |
15 | Depăşit | 404kb | Time limit exceeded. | 0 |
16 | 0ms | 448kb | Corect! | 5 |
17 | 0ms | 444kb | Corect! | 5 |
18 | 0ms | 444kb | Corect! | 5 |
19 | 0ms | 448kb | Corect! | 5 |
20 | 0ms | 448kb | Corect! | 5 |
Punctaj total | 90 |