Pagini recente » Borderou de evaluare (job #1961509) | Borderou de evaluare (job #2164565) | Borderou de evaluare (job #555880) | Borderou de evaluare (job #2178866) | Borderou de evaluare (job #1496389)
Borderou de evaluare (job #1496389)
Raport evaluator
Compilare:
user.cpp: In function ‘long long unsigned int cautare_binara(long long unsigned int, long long unsigned int, int)’:
user.cpp:27:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(aux==p)
^
user.cpp:37:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(aux>p)
^
user.cpp:39:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(aux<p)
^
user.cpp: In function ‘int main()’:
user.cpp:47:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=]
scanf("%d",&p);
^
user.cpp:49: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:42:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:45: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:46: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:47: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 | 440kb | Corect! | 5 |
2 | 0ms | 448kb | Corect! | 5 |
3 | 0ms | 444kb | Corect! | 5 |
4 | 0ms | 444kb | Corect! | 5 |
5 | 0ms | 444kb | Corect! | 5 |
6 | 0ms | 448kb | Corect! | 5 |
7 | 0ms | 452kb | Corect! | 5 |
8 | 0ms | 448kb | Corect! | 5 |
9 | 0ms | 444kb | Corect! | 5 |
10 | 0ms | 448kb | Corect! | 5 |
11 | 0ms | 448kb | Corect! | 5 |
12 | 0ms | 448kb | Corect! | 5 |
13 | 0ms | 452kb | Corect! | 5 |
14 | 0ms | 448kb | Corect! | 5 |
15 | 0ms | 448kb | Corect! | 5 |
16 | 0ms | 452kb | Corect! | 5 |
17 | 0ms | 444kb | Corect! | 5 |
18 | 0ms | 448kb | Corect! | 5 |
19 | 0ms | 452kb | Corect! | 5 |
20 | 0ms | 452kb | Corect! | 5 |
Punctaj total | 100 |