Pagini recente » Borderou de evaluare (job #133841) | Borderou de evaluare (job #566231) | Borderou de evaluare (job #2596930) | Borderou de evaluare (job #2704217) | Borderou de evaluare (job #1832370)
Borderou de evaluare (job #1832370)
Raport evaluator
Compilare:
user.cpp:6:13: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses]
#define P 1 << 17
^
user.cpp:10:9: note: in expansion of macro ‘P’
punct v[P + 10];
^
user.cpp:6:13: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses]
#define P 1 << 17
^
user.cpp:18:19: note: in expansion of macro ‘P’
std::vector<int>a[P + 1];
^
user.cpp: In function ‘int main()’:
user.cpp:54:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(a[i].size() >= k) {
^
user.cpp:55:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0;j <= a[i].size() - k;j++) {
^
user.cpp:24:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:27:24: 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 |
Punctaj/grupa |
1 | 4ms | 3520kb | Incorect | 0 | 0 |
2 | 4ms | 3524kb | OK | 20 |
3 | 4ms | 3528kb | Incorect | 0 |
4 | 12ms | 3760kb | Incorect | 0 |
5 | 76ms | 5912kb | Incorect | 0 |
Punctaj total | 0 |