Pagini recente » Borderou de evaluare (job #1695898) | Borderou de evaluare (job #3143766) | Borderou de evaluare (job #1230037) | Borderou de evaluare (job #1818167) | Borderou de evaluare (job #1650065)
Borderou de evaluare (job #1650065)
Raport evaluator
Compilare:
user.cpp: In function ‘int power(int, int)’:
user.cpp:28:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,sol=1,a=x;
^
user.cpp: In function ‘int main()’:
user.cpp:64:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
printf("%d %d\n",nrdiv,sum);
^
user.cpp:39:13: warning: unused variable ‘sq’ [-Wunused-variable]
int i,j,sq,d,ok,nrdiv,p1,p2;
^
user.cpp:39:18: warning: unused variable ‘ok’ [-Wunused-variable]
int i,j,sq,d,ok,nrdiv,p1,p2;
^
user.cpp:41:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ssnd.in","r",stdin);
^
user.cpp:42:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ssnd.out","w",stdout);
^
user.cpp:43:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:47:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&nr);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 12ms | 868kb | OK | 10 | 10 |
| 2 | 12ms | 872kb | OK | 10 | 10 |
| 3 | 12ms | 876kb | OK | 10 | 10 |
| 4 | 12ms | 876kb | OK | 10 | 10 |
| 5 | 12ms | 872kb | OK | 10 | 10 |
| 6 | 12ms | 868kb | OK | 10 | 10 |
| 7 | 12ms | 876kb | OK | 10 | 10 |
| 8 | 60ms | 872kb | OK | 10 | 30 |
| 9 | 56ms | 872kb | OK | 10 |
| 10 | 52ms | 868kb | OK | 10 |
| Punctaj total | 100 |