Pagini recente » Borderou de evaluare (job #1666364) | Borderou de evaluare (job #273410) | Borderou de evaluare (job #1695487) | Borderou de evaluare (job #200796) | Borderou de evaluare (job #1297652)
Borderou de evaluare (job #1297652)
Raport evaluator
Compilare:
user.cpp: In function ‘void Solve()’:
user.cpp:65:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&x,&y);
^
user.cpp:65:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:65:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
user.cpp: In function ‘int Min(long long int)’:
user.cpp:22:9: warning: ‘c’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int c , ok =0, r;
^
user.cpp: In function ‘int Max(long long int)’:
user.cpp:42:9: warning: ‘c’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int c, r, ok=0;
^
user.cpp: In function ‘void Solve()’:
user.cpp:22:9: warning: ‘c’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int c , ok =0, r;
^
user.cpp:69:35: warning: ‘c’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Sum += Max(x) * Max(y);
^
user.cpp:69:35: warning: ‘c’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:22:9: warning: ‘c’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int c , ok =0, r;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 448kb | Incorect | 0 |
2 | 0ms | 444kb | Incorect | 0 |
3 | 0ms | 444kb | Incorect | 0 |
4 | 0ms | 440kb | Incorect | 0 |
5 | 0ms | 448kb | Incorect | 0 |
6 | 0ms | 440kb | Incorect | 0 |
7 | 0ms | 452kb | Incorect | 0 |
8 | 0ms | 444kb | Incorect | 0 |
9 | 0ms | 452kb | Incorect | 0 |
10 | 0ms | 444kb | Incorect | 0 |
Punctaj total | 0 |