Pagini recente » Borderou de evaluare (job #505855) | Borderou de evaluare (job #412529) | Borderou de evaluare (job #739861) | Borderou de evaluare (job #256007) | Borderou de evaluare (job #2294048)
Borderou de evaluare (job #2294048)
Raport evaluator
Compilare:
main.cpp: In function 'bool verif(ll, ll&)':
main.cpp:19:8: warning: unused variable 'val' [-Wunused-variable]
ll val = k;
^~~
main.cpp: In function 'int main()':
main.cpp:55:27: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=]
scanf("%I64d",&cerinta);
^
main.cpp:56:21: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=]
scanf("%I64d",&n);
^
main.cpp:64:29: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=]
scanf("%I64d",&x);
^
main.cpp:76:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll {aka long long int}' [-Wformat=]
printf("%d\n",pos);
^
main.cpp:96:32: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll {aka long long int}' [-Wformat=]
printf("%I64d %I64d",ans,me);
^
main.cpp:96:32: warning: format '%d' expects argument of type 'int', but argument 3 has type 'll {aka long long int}' [-Wformat=]
main.cpp:58:8: warning: unused variable 'lim' [-Wunused-variable]
ll lim = n*(n+1)/2;
^~~
main.cpp:83:8: warning: variable 'ans2' set but not used [-Wunused-but-set-variable]
ll ans2;
^~~~
main.cpp:52:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pic.in","r",stdin);
^
main.cpp:53:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pic.out","w",stdout);
^
main.cpp:55:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d",&cerinta);
^
main.cpp:56:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d",&n);
^
main.cpp:64:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 5 |
2 | 2ms | 131kb | OK | 5 |
3 | 3ms | 131kb | OK | 5 |
4 | 3ms | 131kb | OK | 5 |
5 | 3ms | 131kb | Incorect | 0 |
6 | 3ms | 131kb | Incorect | 0 |
7 | 3ms | 131kb | Incorect | 0 |
8 | 3ms | 131kb | Incorect | 0 |
9 | 3ms | 131kb | Incorect | 0 |
10 | 3ms | 131kb | Incorect | 0 |
11 | 4ms | 131kb | Incorect | 0 |
12 | 4ms | 131kb | Incorect | 0 |
13 | 3ms | 131kb | Incorect | 0 |
14 | 3ms | 131kb | Incorect | 0 |
15 | 3ms | 131kb | Incorect | 0 |
16 | 3ms | 131kb | Incorect | 0 |
17 | 3ms | 131kb | Incorect | 0 |
18 | 3ms | 131kb | Incorect | 0 |
19 | 4ms | 131kb | Incorect | 0 |
20 | 4ms | 131kb | Incorect | 0 |
Punctaj total | 20 |