Pagini recente » Borderou de evaluare (job #2603364) | Borderou de evaluare (job #3251687) | Borderou de evaluare (job #2346212) | Borderou de evaluare (job #2048956) | Borderou de evaluare (job #1832538)
Borderou de evaluare (job #1832538)
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: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 | 3516kb | OK | 20 | 100 |
2 | 4ms | 3520kb | OK | 20 |
3 | 4ms | 3528kb | OK | 20 |
4 | 12ms | 3748kb | OK | 20 |
5 | 76ms | 5908kb | OK | 20 |
Punctaj total | 100 |