Pagini recente » Borderou de evaluare (job #2099947) | Borderou de evaluare (job #3173918) | Borderou de evaluare (job #2787530) | Borderou de evaluare (job #403605) | Borderou de evaluare (job #1644807)
Borderou de evaluare (job #1644807)
Raport evaluator
Compilare:
user.cpp: In function ‘int power(int, int)’:
user.cpp:34:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,sol=1,a=x;
^
user.cpp: In function ‘int main()’:
user.cpp:71: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:45:13: warning: unused variable ‘sq’ [-Wunused-variable]
int i,j,sq,nrdiv,d,p1,p2,ok;
^
user.cpp:45:30: warning: unused variable ‘ok’ [-Wunused-variable]
int i,j,sq,nrdiv,d,p1,p2,ok;
^
user.cpp:47: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:48: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:49:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:53: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 | 876kb | OK | 10 | 10 |
2 | 12ms | 880kb | OK | 10 | 10 |
3 | 12ms | 880kb | OK | 10 | 10 |
4 | 12ms | 876kb | OK | 10 | 10 |
5 | 12ms | 876kb | OK | 10 | 10 |
6 | 12ms | 876kb | OK | 10 | 10 |
7 | 12ms | 876kb | OK | 10 | 10 |
8 | 60ms | 872kb | OK | 10 | 30 |
9 | 56ms | 880kb | OK | 10 |
10 | 52ms | 872kb | OK | 10 |
Punctaj total | 100 |