Pagini recente » Monitorul de evaluare | Borderou de evaluare (job #1392590) | Borderou de evaluare (job #1225661) | Cod sursa (job #6502) | Borderou de evaluare (job #1523183)
Borderou de evaluare (job #1523183)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(x<= 1<<(n-1) && y<= 1<<(n-1)){
^
user.cpp:19:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(x<= 1<<(n-1) && y<= 1<<(n-1)){
^
user.cpp:30:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if(x<= 1<<(n-1) && y> 1<<(n-1)){
^
user.cpp:30:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if(x<= 1<<(n-1) && y> 1<<(n-1)){
^
user.cpp:43:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if(x> 1<<(n-1) && y<= 1<<(n-1)){
^
user.cpp:43:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if(x> 1<<(n-1) && y<= 1<<(n-1)){
^
user.cpp:56:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if(x> 1<<(n-1) && y> 1<<(n-1)){
^
user.cpp:56:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if(x> 1<<(n-1) && y> 1<<(n-1)){
^
user.cpp:8:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("z.in", "r", stdin);
^
user.cpp:9:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("z.out", "w", stdout);
^
user.cpp:11:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
user.cpp:17:30: 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 | 260kb | Incorect | 0 |
| 2 | 0ms | 260kb | Incorect | 0 |
| 3 | 0ms | 264kb | Incorect | 0 |
| 4 | 0ms | 260kb | Incorect | 0 |
| 5 | 0ms | 264kb | Incorect | 0 |
| 6 | 0ms | 264kb | Incorect | 0 |
| 7 | 0ms | 260kb | Incorect | 0 |
| 8 | 0ms | 256kb | Incorect | 0 |
| 9 | 0ms | 260kb | Incorect | 0 |
| 10 | 0ms | 264kb | Incorect | 0 |
| Punctaj total | 0 |