Pagini recente » Cod sursa (job #1753714) | Borderou de evaluare (job #1585681) | Borderou de evaluare (job #2700198) | Cod sursa (job #1995012) | Borderou de evaluare (job #1563108)
Borderou de evaluare (job #1563108)
Raport evaluator
Compilare:
user.cpp: In function ‘int calc(int)’:
user.cpp:7:11: warning: unused variable ‘i’ [-Wunused-variable]
int k,i,m;
^
user.cpp:7:13: warning: unused variable ‘m’ [-Wunused-variable]
int k,i,m;
^
user.cpp: In function ‘int calc2(int)’:
user.cpp:19:11: warning: unused variable ‘i’ [-Wunused-variable]
int k,i,m;
^
user.cpp:19:13: warning: unused variable ‘m’ [-Wunused-variable]
int k,i,m;
^
user.cpp: In function ‘int main()’:
user.cpp:39: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:39:27: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:37: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:38: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:39: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:42: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 | 448kb | Corect | 5 |
| 2 | 0ms | 440kb | Corect | 5 |
| 3 | 0ms | 452kb | Corect | 5 |
| 4 | 0ms | 452kb | Corect | 5 |
| 5 | 0ms | 456kb | Corect | 4 |
| 6 | 0ms | 452kb | Corect | 4 |
| 7 | 0ms | 456kb | Corect | 4 |
| 8 | 0ms | 464kb | Corect | 4 |
| 9 | 0ms | 460kb | Corect | 4 |
| 10 | 0ms | 468kb | Corect | 4 |
| 11 | 0ms | 472kb | Corect | 4 |
| 12 | 0ms | 468kb | Corect | 4 |
| 13 | 0ms | 504kb | Corect | 4 |
| 14 | 0ms | 512kb | Corect | 4 |
| 15 | 0ms | 516kb | Corect | 5 |
| 16 | 0ms | 528kb | Corect | 5 |
| 17 | 0ms | 532kb | Corect | 5 |
| 18 | 0ms | 536kb | Corect | 5 |
| 19 | 0ms | 540kb | Corect | 5 |
| 20 | 0ms | 540kb | Corect | 5 |
| 21 | 24ms | 1236kb | Corect | 5 |
| 22 | 28ms | 1232kb | Corect | 5 |
| Punctaj total | 100 |