Pagini recente » Borderou de evaluare (job #2249180) | Borderou de evaluare (job #2419136) | Borderou de evaluare (job #1484152) | Borderou de evaluare (job #1650610) | Borderou de evaluare (job #1510548)
Borderou de evaluare (job #1510548)
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 | 436kb | Corect | 5 |
2 | 0ms | 424kb | Corect | 5 |
3 | 0ms | 440kb | Corect | 5 |
4 | 0ms | 436kb | Corect | 5 |
5 | 0ms | 440kb | Corect | 4 |
6 | 0ms | 436kb | Corect | 4 |
7 | 0ms | 436kb | Corect | 4 |
8 | 0ms | 448kb | Corect | 4 |
9 | 0ms | 448kb | Corect | 4 |
10 | 0ms | 448kb | Corect | 4 |
11 | 0ms | 452kb | Corect | 4 |
12 | 0ms | 456kb | Corect | 4 |
13 | 0ms | 480kb | Corect | 4 |
14 | 0ms | 496kb | Corect | 4 |
15 | 0ms | 504kb | Corect | 5 |
16 | 4ms | 512kb | Corect | 5 |
17 | 4ms | 512kb | Corect | 5 |
18 | 4ms | 520kb | Corect | 5 |
19 | 4ms | 516kb | Corect | 5 |
20 | 4ms | 520kb | Corect | 5 |
21 | Depăşit | 1172kb | Time limit exceeded. | 0 |
22 | Depăşit | 1188kb | Time limit exceeded. | 0 |
Punctaj total | 90 |