Pagini recente » Borderou de evaluare (job #1988971) | Cod sursa (job #1878286) | Cod sursa (job #534555) | Borderou de evaluare (job #2751719) | Borderou de evaluare (job #1536963)
Borderou de evaluare (job #1536963)
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 | 444kb | Corect | 5 |
| 2 | 0ms | 436kb | Corect | 5 |
| 3 | 0ms | 448kb | Corect | 5 |
| 4 | 0ms | 444kb | Corect | 5 |
| 5 | 0ms | 452kb | Corect | 4 |
| 6 | 0ms | 452kb | Corect | 4 |
| 7 | 0ms | 456kb | Corect | 4 |
| 8 | 0ms | 480kb | Corect | 4 |
| 9 | 0ms | 492kb | Corect | 4 |
| 10 | 0ms | 516kb | Corect | 4 |
| 11 | 0ms | 500kb | Corect | 4 |
| 12 | 0ms | 516kb | Corect | 4 |
| 13 | 0ms | 540kb | Corect | 4 |
| 14 | 0ms | 548kb | Corect | 4 |
| 15 | 0ms | 556kb | Corect | 5 |
| 16 | 0ms | 564kb | Corect | 5 |
| 17 | 0ms | 560kb | Corect | 5 |
| 18 | 0ms | 568kb | Corect | 5 |
| 19 | 0ms | 568kb | Corect | 5 |
| 20 | 0ms | 564kb | Corect | 5 |
| 21 | 28ms | 1616kb | Corect | 5 |
| 22 | 28ms | 1612kb | Corect | 5 |
| Punctaj total | 100 |