Pagini recente » Borderou de evaluare (job #2554936) | Borderou de evaluare (job #2717561) | Borderou de evaluare (job #2035469) | Borderou de evaluare (job #2559548) | Borderou de evaluare (job #1905438)
Borderou de evaluare (job #1905438)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d",n);
^
user.cpp:9:9: warning: variable ‘c’ set but not used [-Wunused-but-set-variable]
int c,x,y,d,k,e;
^
user.cpp:9:17: warning: variable ‘k’ set but not used [-Wunused-but-set-variable]
int c,x,y,d,k,e;
^
user.cpp:7: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:8: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:11:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | Incorect | 0 |
Punctaj total | 0 |