Pagini recente » Borderou de evaluare (job #3265608) | Borderou de evaluare (job #1578160) | Borderou de evaluare (job #832796) | Borderou de evaluare (job #2263553) | Borderou de evaluare (job #1365641)
Borderou de evaluare (job #1365641)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",f(2,n)-1);
^
user.cpp:33:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",f(2,n-1)-1);
^
user.cpp:16:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("azerah.in","r",stdin);
^
user.cpp:17:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("azerah.out","w",stdout);
^
user.cpp:19:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&T);
^
user.cpp:23:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:26:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 256ms | 256kb | Incorect | 0 |
Punctaj total | 0 |