Pagini recente » Borderou de evaluare (job #1271984) | Borderou de evaluare (job #1409018) | Borderou de evaluare (job #2401282) | Borderou de evaluare (job #1381653) | Borderou de evaluare (job #1727378)
Borderou de evaluare (job #1727378)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:54:24: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%lld",&x),numere.push_back(x);
^
user.cpp:55:20: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%lld",&m);
^
user.cpp:58:36: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=]
scanf("%d %lld",&opt,&vecin);
^
user.cpp:60:52: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n",bin_search0(numere,vecin));
^
user.cpp:62:52: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n",bin_search1(numere,vecin));
^
user.cpp:64:52: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n",bin_search2(numere,vecin));
^
user.cpp:50:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.in","r",stdin);
^
user.cpp:51:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.out","w",stdout);
^
user.cpp:52:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:54:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&x),numere.push_back(x);
^
user.cpp:55:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&m);
^
user.cpp:58:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %lld",&opt,&vecin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 276kb | Incorect | 0 | 0 |
2 | 0ms | 276kb | Incorect | 0 | 0 |
3 | 0ms | 272kb | Incorect | 0 | 0 |
4 | 4ms | 280kb | Incorect | 0 | 0 |
5 | Depăşit | 376kb | Time limit exceeded. | 0 | 0 |
6 | Depăşit | 768kb | Time limit exceeded. | 0 |
7 | 32ms | Depăşit | Memory limit exceeded. | 0 | 0 |
8 | 32ms | Depăşit | Memory limit exceeded. | 0 |
9 | 40ms | Depăşit | Memory limit exceeded. | 0 |
10 | 40ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |