| Task: | Karkit |
| Sender: | rixu |
| Submission time: | 2021-10-07 20:47:57 +0300 |
| Language: | C++ (C++11) |
| Status: | COMPILE ERROR |
Compiler report
input/code.cpp: In function 'int main()':
input/code.cpp:8:21: error: 'x' was not declared in this scope
printf("%lu\n", x);
^
input/code.cpp:7:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lu", &n);
~~~~~^~~~~~~~~~~Code
#include <stdio.h>
int main()
{
// 0x3B9ACA07
unsigned long n;
scanf("%lu", &n);
printf("%lu\n", x);
return 0;
}