Pagini recente » Borderou de evaluare (job #533226) | Borderou de evaluare (job #747863) | Borderou de evaluare (job #576765) | Borderou de evaluare (job #117064) | Borderou de evaluare (job #1335366)
Borderou de evaluare (job #1335366)
Raport evaluator
Compilare:
user.cpp: In function ‘int p(int)’:
user.cpp:13:17: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
int d=2,k=0,x;
^
user.cpp: In function ‘int main()’:
user.cpp:31:17: warning: unused variable ‘d’ [-Wunused-variable]
int n,a,b,i,d=2,k=0;
^
user.cpp:31:21: warning: unused variable ‘k’ [-Wunused-variable]
int n,a,b,i,d=2,k=0;
^
user.cpp:29:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("divmul.in","r",stdin);
^
user.cpp:30:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("divmul.out","w",stdout);
^
user.cpp:32:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:35:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 48ms | 244kb | OK | 100 |
Punctaj total | 100 |