Pagini recente » Borderou de evaluare (job #2753068) | Borderou de evaluare (job #2307831) | Borderou de evaluare (job #204330) | Borderou de evaluare (job #2836957) | Borderou de evaluare (job #1709884)
Borderou de evaluare (job #1709884)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:52:9: warning: "/*" within comment [-Wcomment]
/*while(1){
^
user.c:75:9: warning: implicit declaration of function ‘sqrt’ [-Wimplicit-function-declaration]
m = (1 + sqrt(1+8*n))/2;
^
user.c:75:18: warning: incompatible implicit declaration of built-in function ‘sqrt’ [enabled by default]
m = (1 + sqrt(1+8*n))/2;
^
user.c:19:15: warning: unused variable ‘temp’ [-Wunused-variable]
long long temp;
^
user.c:17:15: warning: unused variable ‘min’ [-Wunused-variable]
long long min;
^
user.c:16:15: warning: unused variable ‘s’ [-Wunused-variable]
long long s;
^
user.c:9:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("consecutive.in","r",stdin);
^
user.c:10:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("consecutive.out","w",stdout);
^
user.c:12:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.c:21:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lli",&n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 48ms | 296kb | OK | 100 |
Punctaj total | 100 |