Pagini recente » Borderou de evaluare (job #81228) | Borderou de evaluare (job #1459230) | Borderou de evaluare (job #2027197) | Borderou de evaluare (job #1423159) | Borderou de evaluare (job #2599274)
Borderou de evaluare (job #2599274)
Raport evaluator
Compilare:
main.cpp: In function 'void build(int)':
main.cpp:75:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (lg[index] < L[index].size()) lg[index]*=2;
~~~~~~~~~~^~~~~~~~~~~~~~~~~
main.cpp:78:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=lg[index];i<=lg[index]+L[index].size()-1;i++){
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:157:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<L.size();i++){
~^~~~~~~~~
main.cpp:145:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pandemie.in","r",stdin);
^
main.cpp:146:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pandemie.out","w",stdout);
^
main.cpp:147:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:149:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
main.cpp:163:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&Q);
^
main.cpp:165:43: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&q[i].first,&q[i].second);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 23ms | 6946kb | OK | 5 | 40 |
✓ | 2 | 23ms | 6946kb | OK | 5 |
✓ | 3 | 23ms | 6946kb | OK | 5 |
✓ | 4 | 24ms | 6946kb | OK | 5 |
✓ | 5 | 23ms | 7208kb | OK | 5 |
✓ | 6 | 22ms | 6815kb | OK | 5 |
✓ | 7 | 24ms | 6946kb | OK | 5 |
✓ | 8 | 24ms | 6946kb | OK | 5 |
✓ | 9 | 197ms | 15392kb | OK | 5 | 40 |
✓ | 10 | 191ms | 15392kb | OK | 5 |
✓ | 11 | 181ms | 15392kb | OK | 5 |
✓ | 12 | 149ms | 14868kb | OK | 5 |
✓ | 13 | 111ms | 13369kb | OK | 5 |
✓ | 14 | 161ms | 13430kb | OK | 5 |
✓ | 15 | 183ms | 15130kb | OK | 5 |
✓ | 16 | 152ms | 13430kb | OK | 5 |
✓ | 17 | 404ms | 23068kb | OK | 5 | 20 |
✓ | 18 | 428ms | 27054kb | OK | 5 |
✓ | 19 | 380ms | 26529kb | OK | 5 |
✓ | 20 | 403ms | 23068kb | OK | 5 |
Punctaj total | 100 |