Pagini recente » Borderou de evaluare (job #1668043) | Borderou de evaluare (job #1449746) | Borderou de evaluare (job #467509) | Borderou de evaluare (job #70411) | Borderou de evaluare (job #1644791)
Borderou de evaluare (job #1644791)
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:16: warning: unused variable ‘sq’ [-Wunused-variable]
int i,j,nr,sq,nrdiv,d,p1,p2;
^
user.cpp:46: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:47: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:48:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:52:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&nr);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 12ms | 860kb | OK | 10 | 10 |
2 | 12ms | 856kb | OK | 10 | 10 |
3 | 12ms | 856kb | OK | 10 | 10 |
4 | 12ms | 864kb | OK | 10 | 10 |
5 | 12ms | 864kb | Incorect | 0 | 0 |
6 | 12ms | 868kb | Incorect | 0 | 0 |
7 | 12ms | 868kb | Incorect | 0 | 0 |
8 | 96ms | 860kb | Incorect | 0 | 0 |
9 | 96ms | 864kb | Incorect | 0 |
10 | 96ms | 868kb | Incorect | 0 |
Punctaj total | 40 |