Pagini recente » Borderou de evaluare (job #2440912) | Borderou de evaluare (job #1229573) | Borderou de evaluare (job #1508112) | Borderou de evaluare (job #2531824) | Borderou de evaluare (job #1510546)
Borderou de evaluare (job #1510546)
Raport evaluator
Compilare:
user.cpp: In function ‘int calc(int)’:
user.cpp:9:11: warning: unused variable ‘i’ [-Wunused-variable]
int k,i,m;
^
user.cpp:9:13: warning: unused variable ‘m’ [-Wunused-variable]
int k,i,m;
^
user.cpp: In function ‘int calc2(int)’:
user.cpp:21:11: warning: unused variable ‘i’ [-Wunused-variable]
int k,i,m;
^
user.cpp:21:13: warning: unused variable ‘m’ [-Wunused-variable]
int k,i,m;
^
user.cpp: In function ‘int main()’:
user.cpp:35:27: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%lld%lld",&p,&x);
^
user.cpp:35:27: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:33:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("risc2.in","r",stdin);
^
user.cpp:34:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("risc2.out","w",stdout);
^
user.cpp:35:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld",&p,&x);
^
user.cpp:37:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&f[k]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 424kb | Corect | 5 |
2 | 0ms | 424kb | Corect | 5 |
3 | 0ms | 424kb | Incorect | 0 |
4 | 0ms | 428kb | Incorect | 0 |
5 | 0ms | 440kb | Corect | 4 |
6 | 0ms | 432kb | Corect | 4 |
7 | 0ms | 436kb | Corect | 4 |
8 | 0ms | 440kb | Corect | 4 |
9 | 0ms | 444kb | Corect | 4 |
10 | 0ms | 456kb | Corect | 4 |
11 | 0ms | 452kb | Corect | 4 |
12 | 0ms | 456kb | Corect | 4 |
13 | 0ms | 480kb | Corect | 4 |
14 | 0ms | 492kb | Corect | 4 |
15 | 0ms | 500kb | Corect | 5 |
16 | 4ms | 508kb | Corect | 5 |
17 | 4ms | 512kb | Corect | 5 |
18 | 4ms | 520kb | Corect | 5 |
19 | 4ms | 516kb | Corect | 5 |
20 | 4ms | 512kb | Corect | 5 |
21 | Depăşit | 1212kb | Time limit exceeded. | 0 |
22 | Depăşit | 1216kb | Time limit exceeded. | 0 |
Punctaj total | 80 |