Pagini recente » Borderou de evaluare (job #2904040) | Borderou de evaluare (job #618657) | Borderou de evaluare (job #1919143) | Borderou de evaluare (job #236682) | Borderou de evaluare (job #1784268)
Borderou de evaluare (job #1784268)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&n,&k);
^
user.cpp:11:11: warning: unused variable ‘test’ [-Wunused-variable]
int t,test,n,a;
^
user.cpp:9:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("semipal.in","r",stdin);
^
user.cpp:10:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("semipal.out","w",stdout);
^
user.cpp:13:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:16:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 260kb | Incorect | 0 |
Punctaj total | 0 |