Pagini recente » Borderou de evaluare (job #2491158) | Borderou de evaluare (job #1638362) | Borderou de evaluare (job #851973) | Borderou de evaluare (job #1190484) | Borderou de evaluare (job #1351135)
Borderou de evaluare (job #1351135)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:49: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
if(nr1 == 0)printf("%d\n", lgput(2, n)-1);
^
user.cpp:39:44: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
else printf("%d\n", lgput(2, n-1)-1);
^
user.cpp:22:37: 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:23:39: 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:25:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:29:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:34:28: 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 | 236ms | 260kb | Incorect | 0 |
Punctaj total | 0 |