Pagini recente » Borderou de evaluare (job #535197) | Borderou de evaluare (job #1583014) | Borderou de evaluare (job #2509275) | Borderou de evaluare (job #146031) | Borderou de evaluare (job #2294051)
Borderou de evaluare (job #2294051)
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:52: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:53: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:61: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:73: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:93: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:93:32: warning: format '%d' expects argument of type 'int', but argument 3 has type 'll {aka long long int}' [-Wformat=]
main.cpp:55:8: warning: unused variable 'lim' [-Wunused-variable]
ll lim = n*(n+1)/2;
^~~
main.cpp:80:8: warning: variable 'ans2' set but not used [-Wunused-but-set-variable]
ll ans2;
^~~~
main.cpp:49: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:50: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:52:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d",&cerinta);
^
main.cpp:53:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d",&n);
^
main.cpp:61: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 |